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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001791/0.001791, allocations: 190.3 kB / 16.13 MB, free: 6.645 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.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.357/2.357, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6328, allocations: 140.4 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002572/0.6354, allocations: 1.578 MB / 0.9505 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.6365, allocations: 0.7692 MB / 0.9512 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.6365, allocations: 1.344 kB / 0.9512 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.6366, allocations: 3.938 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/0.6367, allocations: 13.2 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.6371, allocations: 109.9 kB / 0.9513 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.6373, allocations: 83.38 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.6374, allocations: 18.84 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.6375, allocations: 34.98 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.6376, allocations: 40.19 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.6376, allocations: 4.125 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.6379, allocations: 94.47 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.6379, allocations: 14.67 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.638, allocations: 38.86 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.6382, allocations: 142.3 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.6382, allocations: 5.5 kB / 0.9518 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6383, allocations: 0 / 0.9518 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6383, allocations: 3.938 kB / 0.9518 GB, free: 6.879 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.0007584/0.639, allocations: 471.1 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6391, allocations: 9.438 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.6391, allocations: 14.31 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.6393, allocations: 184 kB / 0.9524 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.6394, allocations: 34.45 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6394, allocations: 9.172 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.6396, allocations: 79.62 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6396, allocations: 3.984 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.6396, allocations: 0 / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6396, allocations: 5.562 kB / 0.9526 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.6398, allocations: 49.75 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.6402, allocations: 317.9 kB / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.6405, allocations: 72.02 kB / 0.953 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.6406, allocations: 43.14 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.6406, allocations: 1.531 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.6409, allocations: 97.69 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.6409, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004344/0.6413, allocations: 172 kB / 0.9533 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.6413, allocations: 53.97 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.6414, allocations: 138.6 kB / 0.9535 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.6414, allocations: 27.02 kB / 0.9535 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.6415, allocations: 98.92 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.6415, allocations: 23.38 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.6415, allocations: 31.8 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.6416, allocations: 329.1 kB / 0.954 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.6417, allocations: 33.03 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.6418, allocations: 74.56 kB / 0.9541 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.642, allocations: 99.22 kB / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6421, allocations: 0 / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002791/0.6423, allocations: 140 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6424, allocations: 6.344 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6424, allocations: 1.094 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.6424, allocations: 1.469 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.6425, allocations: 24.53 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.6425, allocations: 1.5 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.6426, allocations: 14.73 kB / 0.9543 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6426, allocations: 13.45 kB / 0.9543 GB, free: 4.488 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 (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 6.161e-05/0.6427, allocations: 127.4 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.6427, allocations: 8.156 kB / 0.9545 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.6428, allocations: 11.66 kB / 0.9545 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6428, allocations: 9.297 kB / 0.9545 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6428, allocations: 0 / 0.9545 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6428, allocations: 0 / 0.9545 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.6433, allocations: 433.1 kB / 0.9549 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6433, allocations: 0 / 0.9549 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.6434, allocations: 11.2 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6434, allocations: 0 / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6434, allocations: 9.328 kB / 0.9549 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6434, allocations: 3.938 kB / 0.9549 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6434, allocations: 1.406 kB / 0.9549 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.6437, allocations: 226.4 kB / 0.9551 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.6438, allocations: 84.11 kB / 0.9552 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.6438, allocations: 5.109 kB / 0.9552 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6439, allocations: 17.45 kB / 0.9552 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.644, allocations: 8.672 kB / 0.9553 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.644, allocations: 3.531 kB / 0.9553 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.644, allocations: 105.7 kB / 0.9554 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6441, allocations: 7.938 kB / 0.9554 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003173/0.6444, allocations: 43.58 kB / 0.9554 GB, free: 3.52 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 (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.0002503/0.6446, allocations: 159.3 kB / 0.9556 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.6449, allocations: 91.19 kB / 0.9556 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.6449, allocations: 0.9688 kB / 0.9557 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6451, allocations: 42.89 kB / 0.9557 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.6453, allocations: 19.52 kB / 0.9557 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.6458, allocations: 218.2 kB / 0.9559 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.6459, allocations: 0.692 MB / 0.9566 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.758e-05/0.6459, allocations: 22.2 kB / 0.9566 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.646, allocations: 16.03 kB / 0.9566 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.646, allocations: 1.25 kB / 0.9566 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.003864/0.6498, allocations: 1.661 MB / 0.9583 GB, free: 1.586 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