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.001957/0.001957, 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.002155/0.002156, allocations: 193 kB / 16.13 MB, free: 6.637 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.819/2.819, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.6585, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002767/0.6613, allocations: 1.558 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.6628, allocations: 0.7829 MB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.6628, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.6629, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.663, allocations: 15.84 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.6634, allocations: 107.8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.6636, allocations: 71.78 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.6637, allocations: 15.98 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.6638, allocations: 43.78 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.6638, allocations: 35.83 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.6639, allocations: 4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.664, allocations: 91.91 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.6641, allocations: 11.98 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.6641, allocations: 39.72 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.6644, allocations: 141.6 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6644, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6644, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6644, allocations: 4 kB / 1.019 GB, free: 15.87 MB / 0.7794 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.0007507/0.6652, allocations: 454.6 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.6652, allocations: 12.03 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.6653, allocations: 16.78 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.6654, allocations: 181.1 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6655, allocations: 8.359 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.6655, allocations: 8.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.6657, allocations: 73.91 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6657, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6657, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6657, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.6659, allocations: 39.97 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.6665, allocations: 332.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.6667, allocations: 66.55 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.6668, allocations: 32.84 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.6668, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.667, allocations: 99.39 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.6671, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004202/0.6675, allocations: 161.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.6675, allocations: 51.41 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.6677, allocations: 123 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.6677, allocations: 33.69 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.6678, allocations: 92.28 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.6678, allocations: 19.75 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.6679, allocations: 33.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6681, allocations: 330.8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.6682, allocations: 23.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.6683, allocations: 66.25 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.6685, allocations: 101.1 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6685, allocations: 7.938 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002562/0.6688, allocations: 121.4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6688, allocations: 8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6688, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6688, allocations: 12.11 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6689, allocations: 11.98 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.669, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.6691, allocations: 11.91 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.6691, allocations: 12.06 kB / 1.022 GB, free: 13.1 MB / 0.7794 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.0001174/0.6692, allocations: 135.4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.6692, allocations: 11.84 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.6696, allocations: 150.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6696, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6696, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6696, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.6702, allocations: 434.3 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6703, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.6703, allocations: 8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6704, allocations: 7.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.6704, allocations: 7.984 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6704, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6704, allocations: 11.94 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.6707, allocations: 219.6 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.6708, allocations: 85.02 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.6708, allocations: 3.984 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6709, allocations: 12 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.671, allocations: 15.91 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.671, allocations: 4 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.6711, allocations: 101.3 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6711, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000317/0.6714, allocations: 40 kB / 1.023 GB, free: 11.77 MB / 0.7794 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.0003548/0.6718, allocations: 167.4 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.672, allocations: 83.89 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6721, allocations: 0 / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.6722, allocations: 55.84 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.6725, allocations: 16.17 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.673, allocations: 217.7 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6733, allocations: 0.7005 MB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.6733, allocations: 12.59 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.6734, allocations: 11.44 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.6734, allocations: 0 / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.004923/0.6783, allocations: 1.675 MB / 1.026 GB, free: 8.797 MB / 0.7794 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=400 -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/jenkins/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