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.00112/0.00112, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0127/0.0127, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.387/2.387, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6802, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001721/0.6819, allocations: 1.235 MB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.6837, allocations: 0.7559 MB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.6838, allocations: 0 / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.6839, allocations: 7.922 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.684, allocations: 6.312 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.6847, allocations: 109 kB / 0.9571 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.6848, allocations: 83.95 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.6849, allocations: 14.11 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.6851, allocations: 43.45 kB / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.6851, allocations: 35.19 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.6852, allocations: 3 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.6854, allocations: 94.72 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.6854, allocations: 23.17 kB / 0.9574 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.6855, allocations: 60.38 kB / 0.9574 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.6857, allocations: 137.9 kB / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6857, allocations: 1.062 kB / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6857, allocations: 0 / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6857, allocations: 0 / 0.9576 GB, free: 5.758 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.0007185/0.6865, allocations: 471.6 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6865, allocations: 9.219 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.6866, allocations: 9.219 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.6867, allocations: 186.8 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.6868, allocations: 35.8 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.6868, allocations: 3.875 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.687, allocations: 81.27 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.687, allocations: 4 kB / 0.9583 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.687, allocations: 0 / 0.9583 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.687, allocations: 5.781 kB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.6872, allocations: 56.95 kB / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.6877, allocations: 325.3 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.688, allocations: 70.16 kB / 0.9588 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6881, allocations: 40.09 kB / 0.9588 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.6881, allocations: 5.375 kB / 0.9588 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.6884, allocations: 104.2 kB / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.6884, allocations: 0 / 0.9589 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005033/0.6889, allocations: 177.7 kB / 0.9591 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.6889, allocations: 54.03 kB / 0.9591 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.689, allocations: 136.4 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.6891, allocations: 31.42 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.6891, allocations: 90.91 kB / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.6891, allocations: 27.81 kB / 0.9594 GB, free: 4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.6892, allocations: 22.81 kB / 0.9594 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.6892, allocations: 325.3 kB / 0.9597 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.6893, allocations: 37.97 kB / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.6895, allocations: 76.88 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.6897, allocations: 110.8 kB / 0.96 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6897, allocations: 1.031 kB / 0.96 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002876/0.69, allocations: 139.4 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.69, allocations: 5.062 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.69, allocations: 1.031 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.6901, allocations: 2.094 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6902, allocations: 24.72 kB / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6902, allocations: 6.219 kB / 0.9601 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.6903, allocations: 26.48 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.6903, allocations: 5.094 kB / 0.9602 GB, free: 3.363 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 7.45e-05/0.6904, allocations: 125.7 kB / 0.9603 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.6904, allocations: 7.812 kB / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.6905, allocations: 14.14 kB / 0.9603 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.6905, allocations: 5.469 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6905, allocations: 1.719 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6905, allocations: 4 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.691, allocations: 427.4 kB / 0.9607 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6911, allocations: 0 / 0.9607 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.6911, allocations: 16.23 kB / 0.9607 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6911, allocations: 0 / 0.9607 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6912, allocations: 5.359 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6912, allocations: 5.312 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6912, allocations: 0 / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.6915, allocations: 232 kB / 0.961 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.6915, allocations: 82.39 kB / 0.961 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.6916, allocations: 9.359 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6917, allocations: 17.55 kB / 0.9611 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.6917, allocations: 8.109 kB / 0.9611 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.6918, allocations: 12.12 kB / 0.9611 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.6918, allocations: 99.58 kB / 0.9612 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6918, allocations: 0 / 0.9612 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003205/0.6921, allocations: 55.45 kB / 0.9612 GB, free: 2.398 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.0003435/0.6925, allocations: 162.9 kB / 0.9614 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.6928, allocations: 98.88 kB / 0.9615 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6928, allocations: 0 / 0.9615 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.693, allocations: 50.14 kB / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.6933, allocations: 16.14 kB / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.6937, allocations: 233.1 kB / 0.9618 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.6939, allocations: 0.6926 MB / 0.9624 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.674e-05/0.6939, allocations: 10.33 kB / 0.9625 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.694, allocations: 16.45 kB / 0.9625 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.694, allocations: 0 / 0.9625 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.004414/0.6984, allocations: 1.643 MB / 0.9641 GB, free: 472 kB / 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