Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 193.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 72.11 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8617, allocations: 168.7 MB / 1.274 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002853/0.8645, allocations: 1.542 MB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.866, allocations: 0.7728 MB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.8661, allocations: 0 / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.8661, allocations: 7.875 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.8662, allocations: 23.84 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.8668, allocations: 127.5 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.8669, allocations: 91.7 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.867, allocations: 7.938 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.8671, allocations: 51.83 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.8672, allocations: 39.83 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.8672, allocations: 8 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.8674, allocations: 103.8 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.8675, allocations: 23.91 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.8675, allocations: 31.86 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.8678, allocations: 158.1 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.8678, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8678, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.8678, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009124/0.8687, allocations: 478.3 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.8688, allocations: 12.03 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.8688, allocations: 12.88 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.869, allocations: 176.3 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-05/0.8691, allocations: 38.25 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.8691, allocations: 8.375 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.8694, allocations: 85.64 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.8694, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.8694, allocations: 4 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8694, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.8696, allocations: 43.97 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.8702, allocations: 328.8 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.8704, allocations: 70.42 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.8706, allocations: 36.83 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.8706, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.8709, allocations: 99.36 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.8709, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005121/0.8714, allocations: 165.5 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.8715, allocations: 59.34 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.8716, allocations: 132.8 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8716, allocations: 25.7 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.8717, allocations: 108.5 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.8718, allocations: 23.8 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.8718, allocations: 33.7 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.872, allocations: 322.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.8721, allocations: 31.97 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.8722, allocations: 73.12 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.8725, allocations: 101.1 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.8725, allocations: 8 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003138/0.8728, allocations: 133.5 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8728, allocations: 4 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8728, allocations: 4.375 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8728, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.873, allocations: 23.91 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.873, allocations: 4 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.8731, allocations: 24 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.8731, allocations: 8 kB / 1.279 GB, free: 14.55 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.00011/0.8732, allocations: 124.6 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.8732, allocations: 11.94 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.8733, allocations: 16.7 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8733, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8733, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8733, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.874, allocations: 426.3 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.874, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.874, allocations: 15.98 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.874, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8741, allocations: 3.984 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8741, allocations: 7.875 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8741, allocations: 4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.8744, allocations: 227.3 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8745, allocations: 85.06 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.8745, allocations: 3.984 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.8747, allocations: 15.92 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.8747, allocations: 15.98 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.8747, allocations: 4 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.8748, allocations: 103.2 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8748, allocations: 0 / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003473/0.8751, allocations: 43.92 kB / 1.281 GB, free: 13.36 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0004144/0.8756, allocations: 163.5 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.8759, allocations: 79.89 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8759, allocations: 0 / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.876, allocations: 51.89 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.8763, allocations: 14.02 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.8768, allocations: 229.6 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.8772, allocations: 0.6924 MB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.998e-05/0.8772, allocations: 8.859 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.8773, allocations: 15.42 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8773, allocations: 0 / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.005394/0.8827, allocations: 1.832 MB / 1.284 GB, free: 10.25 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001120653003454]