Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.967/2.967, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 71.11 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4152, allocations: 170 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003164/0.4184, allocations: 1.586 MB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4201, allocations: 0.8664 MB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.4202, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.4202, allocations: 7.875 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.4203, allocations: 23.78 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.421, allocations: 167.4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.4211, allocations: 95.7 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.4212, allocations: 11.94 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.4214, allocations: 51.83 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.4215, allocations: 47.77 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.4215, allocations: 11.94 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.4218, allocations: 147.8 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.4218, allocations: 31.91 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.4219, allocations: 39.78 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.4222, allocations: 175.4 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4222, allocations: 4 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4222, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4222, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008286/0.4231, allocations: 452.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4231, allocations: 8.031 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.4234, allocations: 44.81 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.4237, allocations: 127 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4237, allocations: 8.375 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4237, allocations: 8.125 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.4239, allocations: 85.5 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.424, allocations: 4 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.424, allocations: 4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.424, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.4241, allocations: 47.97 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.4247, allocations: 307.7 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.4249, allocations: 74.67 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.425, allocations: 40.83 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4251, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.4253, allocations: 103.3 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.4253, allocations: 0 / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004578/0.4257, allocations: 177.8 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.4258, allocations: 59.41 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.4259, allocations: 152.1 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.426, allocations: 33.7 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.426, allocations: 96.12 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.4261, allocations: 27.75 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.4261, allocations: 33.7 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4263, allocations: 322.8 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.4264, allocations: 27.98 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.4265, allocations: 69.12 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.4267, allocations: 109 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4267, allocations: 4 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002561/0.4269, allocations: 137.5 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.427, allocations: 8 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.427, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.427, allocations: 7.938 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.4271, allocations: 15.98 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4271, allocations: 7.875 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/0.4272, allocations: 15.94 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4272, allocations: 16.08 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.4274, allocations: 128.6 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.4274, allocations: 7.953 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.4278, allocations: 170.8 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4278, allocations: 0 / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4278, allocations: 3.938 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4278, allocations: 0 / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.4284, allocations: 442.6 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4284, allocations: 0 / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/0.4285, allocations: 15.98 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4285, allocations: 3.938 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4285, allocations: 4 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4285, allocations: 4 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4285, allocations: 0 / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.4289, allocations: 255 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.4289, allocations: 19.81 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4289, allocations: 0 / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.429, allocations: 8 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.4291, allocations: 15.91 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4291, allocations: 4 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.4292, allocations: 118.1 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4292, allocations: 0 / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003295/0.4296, allocations: 43.94 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.43, allocations: 160.7 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.4302, allocations: 94.38 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4302, allocations: 4.188 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.4304, allocations: 51.92 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.4307, allocations: 26.98 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.4312, allocations: 240 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4316, allocations: 0.7041 MB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.842e-05/0.4316, allocations: 16.42 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.4316, allocations: 11.44 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.4316, allocations: 4 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.005884/0.4375, allocations: 2.065 MB / 1.294 GB, free: 436 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.744866696652025]