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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00159/0.00159, allocations: 105.7 kB / 16.41 MB, free: 6.461 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.001942/0.001942, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.12 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8523, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002604/0.8549, allocations: 1.528 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.8562, allocations: 0.753 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.8563, allocations: 1.031 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.8563, allocations: 5.531 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.8564, allocations: 19.91 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.857, allocations: 126.5 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.8571, allocations: 92.48 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.8572, allocations: 11.03 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.8574, allocations: 37.83 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.8575, allocations: 42.83 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.8575, allocations: 6.312 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.8577, allocations: 103.8 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.8578, allocations: 19.77 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.8578, allocations: 39.06 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.8581, allocations: 152.2 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8582, allocations: 1.203 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8582, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8582, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 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.0007784/0.859, allocations: 479.1 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.859, allocations: 9.656 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.8591, allocations: 11.33 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.8592, allocations: 183.3 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.8593, allocations: 33.11 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.8593, allocations: 8.219 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.8595, allocations: 79.19 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.8595, allocations: 0 / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8595, allocations: 5.406 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.8596, allocations: 1.094 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.8598, allocations: 57.58 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.8603, allocations: 311.5 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.8605, allocations: 73.69 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.8606, allocations: 36.78 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.8607, allocations: 9.594 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.861, allocations: 100.9 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.861, allocations: 0 / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005056/0.8615, allocations: 169.9 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.8615, allocations: 59 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8616, allocations: 136.8 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.8617, allocations: 27.55 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.8617, allocations: 92.23 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.8617, allocations: 22.27 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.8618, allocations: 34.52 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.8619, allocations: 328.9 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.862, allocations: 31.48 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.8621, allocations: 69.38 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.8623, allocations: 106 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8623, allocations: 0.9688 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000308/0.8627, allocations: 139.8 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8627, allocations: 5.406 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8627, allocations: 2.578 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.8627, allocations: 1.812 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.8629, allocations: 19.97 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8629, allocations: 3.172 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.863, allocations: 18.8 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.863, allocations: 9.062 kB / 1.094 GB, free: 1.516 MB / 0.8575 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 7.956e-05/0.8631, allocations: 126.5 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.8631, allocations: 8.562 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.8632, allocations: 11.22 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.8632, allocations: 1.438 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8632, allocations: 9.484 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.8632, allocations: 0.7812 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.8638, allocations: 430.4 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8638, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.8639, allocations: 13.73 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8639, allocations: 0.8438 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.8639, allocations: 3.75 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8639, allocations: 4.688 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8639, allocations: 0 / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.8642, allocations: 229.8 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.8643, allocations: 88.69 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.8643, allocations: 1.406 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.8644, allocations: 14.11 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.8645, allocations: 12.94 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.8645, allocations: 4.578 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.8646, allocations: 105 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8646, allocations: 0.8125 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003493/0.8649, allocations: 44.39 kB / 1.095 GB, free: 0.6367 MB / 0.8575 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.0003464/0.8653, allocations: 172.6 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.8656, allocations: 93.72 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8656, allocations: 0.7188 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.8658, allocations: 51.64 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8661, allocations: 17.08 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.8666, allocations: 234.8 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.8668, allocations: 0.6927 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.8669, allocations: 15.92 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.8669, allocations: 0 / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.00465/0.8715, allocations: 1.875 MB / 1.098 GB, free: 15.39 MB / 0.8731 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/jenkins1/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