Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.00127, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005039, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8001, allocations: 142.4 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001707/0.8018, allocations: 1.209 MB / 0.9556 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.8033, allocations: 0.7041 MB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.8034, allocations: 7.938 kB / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.8034, allocations: 7.922 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.8035, allocations: 14.11 kB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.8042, allocations: 101.7 kB / 0.9564 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.8043, allocations: 75.12 kB / 0.9565 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.8044, allocations: 13.44 kB / 0.9565 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.8045, allocations: 39.72 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.8046, allocations: 39.02 kB / 0.9566 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.8047, allocations: 4.125 kB / 0.9566 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.8049, allocations: 84.73 kB / 0.9567 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.8049, allocations: 15.59 kB / 0.9567 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.805, allocations: 41.42 kB / 0.9567 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.8051, allocations: 100.9 kB / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8051, allocations: 0 / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8052, allocations: 1.156 kB / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.8052, allocations: 0 / 0.9568 GB, free: 5.922 MB / 0.7169 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.0007496/0.8059, allocations: 471.1 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.806, allocations: 9.375 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.806, allocations: 13.08 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8062, allocations: 179.8 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.8062, allocations: 38.52 kB / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.8063, allocations: 4.344 kB / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.8065, allocations: 80.89 kB / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8065, allocations: 0 / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.8065, allocations: 1.188 kB / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8065, allocations: 5.125 kB / 0.9576 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.8067, allocations: 65.84 kB / 0.9577 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.8073, allocations: 321.2 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.8075, allocations: 72.91 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.8076, allocations: 40.03 kB / 0.9581 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.8076, allocations: 1 kB / 0.9581 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.8079, allocations: 105.1 kB / 0.9582 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.8079, allocations: 4 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004792/0.8084, allocations: 172.9 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.8084, allocations: 53.19 kB / 0.9584 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.8085, allocations: 133.7 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.8086, allocations: 31.52 kB / 0.9585 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.8086, allocations: 95.88 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.8086, allocations: 24.25 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.8087, allocations: 4 kB / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.8087, allocations: 321.1 kB / 0.959 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.8088, allocations: 29.64 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.8089, allocations: 72.56 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.8091, allocations: 40.55 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8091, allocations: 0 / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002973/0.8094, allocations: 149.8 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8094, allocations: 9.453 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8094, allocations: 2.75 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.8094, allocations: 1.375 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.8096, allocations: 16.36 kB / 0.9593 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8096, allocations: 6.688 kB / 0.9593 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.8097, allocations: 25.67 kB / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.8097, allocations: 5.5 kB / 0.9593 GB, free: 3.617 MB / 0.7169 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.8098, allocations: 117 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.8098, allocations: 12.02 kB / 0.9594 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.8099, allocations: 23.41 kB / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8099, allocations: 1.375 kB / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8099, allocations: 0 / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8099, allocations: 7.938 kB / 0.9595 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.8105, allocations: 427.7 kB / 0.9599 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8105, allocations: 7.938 kB / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.8106, allocations: 12.25 kB / 0.9599 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.8106, allocations: 0 / 0.9599 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.8106, allocations: 5.359 kB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8106, allocations: 1.375 kB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8106, allocations: 0 / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.8109, allocations: 230.5 kB / 0.9601 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.811, allocations: 91.17 kB / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.811, allocations: 1.25 kB / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.8111, allocations: 17.36 kB / 0.9602 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.8112, allocations: 8.328 kB / 0.9602 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.8112, allocations: 3.656 kB / 0.9602 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.8113, allocations: 109.8 kB / 0.9603 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8113, allocations: 192 / 0.9603 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003381/0.8116, allocations: 42.97 kB / 0.9604 GB, free: 2.66 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.812, allocations: 168.4 kB / 0.9605 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.8123, allocations: 98.53 kB / 0.9606 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8123, allocations: 0.75 kB / 0.9606 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.8124, allocations: 52.81 kB / 0.9607 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8127, allocations: 12.56 kB / 0.9607 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.8132, allocations: 234.1 kB / 0.9609 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.8133, allocations: 0.6929 MB / 0.9616 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.364e-05/0.8134, allocations: 14.84 kB / 0.9616 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.8134, allocations: 11.91 kB / 0.9616 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8134, allocations: 192 / 0.9616 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.004522/0.818, allocations: 1.618 MB / 0.9632 GB, free: 0.7227 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches