Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001714/0.001714, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9417/0.9437, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003022/0.9468, allocations: 1.512 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.9483, allocations: 0.7596 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.9484, allocations: 4 kB / 1.17 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.9484, allocations: 3.938 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.9486, allocations: 7.875 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.9491, allocations: 135.5 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.9493, allocations: 87.75 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.9494, allocations: 15.98 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.9495, allocations: 43.8 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.9496, allocations: 35.89 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.9496, allocations: 11.94 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.9498, allocations: 87.91 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.9499, allocations: 19.97 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.9499, allocations: 31.8 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.9502, allocations: 164 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.9502, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9502, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.9502, allocations: 0 / 1.17 GB, free: 0.9844 MB / 0.8887 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.0008067/0.951, allocations: 466.3 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9511, allocations: 11.97 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.9511, allocations: 12.83 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.9513, allocations: 172.3 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.9513, allocations: 12.36 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.9514, allocations: 8.375 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.9516, allocations: 73.91 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.9516, allocations: 0 / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.9516, allocations: 4 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.9516, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.9518, allocations: 39.97 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.9524, allocations: 328.6 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.9526, allocations: 66.55 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.9527, allocations: 28.84 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.9527, allocations: 8.156 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.953, allocations: 99.38 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.953, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000433/0.9534, allocations: 157.5 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.9535, allocations: 55.41 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.9536, allocations: 123.3 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.9536, allocations: 37.69 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.9537, allocations: 88.38 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.9537, allocations: 23.8 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.9538, allocations: 38.08 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.954, allocations: 322.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.954, allocations: 23.98 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.9542, allocations: 70.5 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.9544, allocations: 108.9 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9544, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002556/0.9546, allocations: 125.5 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9547, allocations: 8.125 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9547, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.9547, allocations: 7.984 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.9548, allocations: 15.98 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9548, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.9549, allocations: 15.95 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.955, allocations: 7.984 kB / 1.173 GB, free: 14.2 MB / 0.9044 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.0001197/0.9551, allocations: 131.9 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.9551, allocations: 15.89 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.9555, allocations: 142 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.9555, allocations: 4 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9555, allocations: 0 / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.9555, allocations: 0 / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.9561, allocations: 438.3 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9561, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.9562, allocations: 15.94 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9562, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.9562, allocations: 11.98 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9562, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9563, allocations: 3.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.9566, allocations: 215.6 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.9566, allocations: 89.05 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.9567, allocations: 7.984 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.9568, allocations: 11.94 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.9569, allocations: 15.92 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.9569, allocations: 11.98 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.957, allocations: 91.27 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.957, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003368/0.9573, allocations: 39.88 kB / 1.174 GB, free: 12.88 MB / 0.9044 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 (12): * Single equations (assignments): 9 * 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.0004137/0.9577, allocations: 171.9 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.958, allocations: 84.05 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.958, allocations: 0 / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.9582, allocations: 51.91 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.9585, allocations: 27.03 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.959, allocations: 207.4 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.9593, allocations: 0.6924 MB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.9594, allocations: 12.42 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.9594, allocations: 15.44 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9594, allocations: 0 / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.005294/0.9647, allocations: 1.804 MB / 1.177 GB, free: 9.785 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches