Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.005902/0.005902, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001374/0.001374, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.643/2.643, allocations: 472.6 MB / 0.7453 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.935/0.9362, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002726/0.939, allocations: 1.526 MB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.9404, allocations: 0.7644 MB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.9404, allocations: 0 / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.9405, allocations: 3.938 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.9406, allocations: 11.81 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.9412, allocations: 127.6 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.9413, allocations: 83.77 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.9415, allocations: 23.97 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.9416, allocations: 39.8 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.9417, allocations: 43.83 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.9417, allocations: 4 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.9419, allocations: 95.84 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.942, allocations: 23.91 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.942, allocations: 39.78 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.9423, allocations: 147.1 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9423, allocations: 3.938 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9424, allocations: 4 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9424, allocations: 0 / 1.228 GB, free: 10.63 MB / 0.9512 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.0008041/0.9432, allocations: 491 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9432, allocations: 8.031 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.9433, allocations: 12.83 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.9434, allocations: 176.3 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.9435, allocations: 38.25 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.9436, allocations: 8.375 kB / 1.229 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.9438, allocations: 77.77 kB / 1.229 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.9438, allocations: 0 / 1.229 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9438, allocations: 7.938 kB / 1.229 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9438, allocations: 0 / 1.229 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.944, allocations: 47.95 kB / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.9446, allocations: 328.7 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.9448, allocations: 74.55 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.9449, allocations: 36.84 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.945, allocations: 4 kB / 1.23 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.9452, allocations: 95.34 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.9452, allocations: 0 / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0005031/0.9457, allocations: 165.5 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.9458, allocations: 59.39 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.9459, allocations: 136.6 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.946, allocations: 29.7 kB / 1.23 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.946, allocations: 92.33 kB / 1.23 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.9461, allocations: 31.92 kB / 1.23 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.9461, allocations: 33.64 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9463, allocations: 326.8 kB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.9464, allocations: 31.91 kB / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.9465, allocations: 73.12 kB / 1.231 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.9468, allocations: 105.1 kB / 1.231 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9468, allocations: 0 / 1.231 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002929/0.9471, allocations: 137.5 kB / 1.231 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9471, allocations: 5.719 kB / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9471, allocations: 0 / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9471, allocations: 4 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.9473, allocations: 24.05 kB / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9473, allocations: 0 / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.9474, allocations: 19.94 kB / 1.231 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.9474, allocations: 4 kB / 1.231 GB, free: 7.719 MB / 0.9512 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.0001157/0.9475, allocations: 132.2 kB / 1.231 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.9476, allocations: 15.88 kB / 1.231 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.9476, allocations: 8.719 kB / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.9476, allocations: 11.94 kB / 1.231 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9476, allocations: 0 / 1.231 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9476, allocations: 0 / 1.231 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.9482, allocations: 422.3 kB / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9483, allocations: 4 kB / 1.232 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.9483, allocations: 4 kB / 1.232 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.9483, allocations: 3.984 kB / 1.232 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.9484, allocations: 12 kB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.9484, allocations: 3.938 kB / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9484, allocations: 0 / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.9487, allocations: 231.3 kB / 1.232 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.9488, allocations: 85.25 kB / 1.232 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.9488, allocations: 4 kB / 1.232 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.949, allocations: 19.86 kB / 1.232 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.949, allocations: 12.08 kB / 1.232 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.949, allocations: 7.984 kB / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.9491, allocations: 106.1 kB / 1.232 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9491, allocations: 0 / 1.232 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003003/0.9494, allocations: 39.94 kB / 1.232 GB, free: 6.523 MB / 0.9512 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.0003737/0.9498, allocations: 166.3 kB / 1.232 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.9501, allocations: 83.88 kB / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.9501, allocations: 4 kB / 1.232 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.9503, allocations: 47.91 kB / 1.232 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.9506, allocations: 20.23 kB / 1.232 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.9511, allocations: 223.5 kB / 1.233 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.9513, allocations: 0.6924 MB / 1.233 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.318e-05/0.9514, allocations: 20.59 kB / 1.233 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.9514, allocations: 11.44 kB / 1.233 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9514, allocations: 0 / 1.233 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of Templates: time 0.004836/0.9563, allocations: 1.806 MB / 1.235 GB, free: 3.422 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches