Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007837/0.007838, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001802/0.001802, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.428/2.428, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 60.12 kB / 1.018 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8474, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002423/0.8499, allocations: 1.515 MB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.8511, allocations: 0.7555 MB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.8512, allocations: 8 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.8512, allocations: 3.938 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.8513, allocations: 15.84 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.8518, allocations: 131.5 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.8519, allocations: 79.77 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.852, allocations: 12 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.8522, allocations: 51.83 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.8522, allocations: 35.84 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.8523, allocations: 4 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.8525, allocations: 95.84 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.8525, allocations: 15.98 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.8525, allocations: 35.78 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.8528, allocations: 156.1 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.8528, allocations: 0 / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8528, allocations: 3.938 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.8528, allocations: 0 / 1.169 GB, free: 0.9648 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.0007884/0.8536, allocations: 466.3 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8537, allocations: 8.031 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.8537, allocations: 12.88 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.8539, allocations: 176.3 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.8539, allocations: 4.375 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.8539, allocations: 4.375 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.8541, allocations: 81.89 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8541, allocations: 4 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.8541, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8542, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.8543, allocations: 47.97 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.8548, allocations: 320.7 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.855, allocations: 70.58 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.8551, allocations: 32.84 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.8551, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.8553, allocations: 91.36 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.8553, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003989/0.8557, allocations: 153.5 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.8558, allocations: 63.41 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.8559, allocations: 127.7 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.8559, allocations: 29.7 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.856, allocations: 92.36 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.856, allocations: 27.73 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.8561, allocations: 33.7 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8562, allocations: 322.8 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.8563, allocations: 31.98 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.8564, allocations: 69.12 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.8566, allocations: 97.08 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8566, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002532/0.8569, allocations: 129.5 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.8569, allocations: 8 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8569, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8569, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.857, allocations: 23.98 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.857, allocations: 4 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.8572, allocations: 19.94 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.8572, allocations: 4 kB / 1.172 GB, free: 14.18 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.0001001/0.8573, allocations: 127.9 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.8573, allocations: 15.94 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.8576, allocations: 134.4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.8577, allocations: 11.98 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8577, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8577, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.8583, allocations: 438.4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8583, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.8583, allocations: 11.98 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8584, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.8584, allocations: 8 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8584, allocations: 4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8584, allocations: 3.938 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.8587, allocations: 227.3 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.8588, allocations: 85.06 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.8588, allocations: 0 / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.8589, allocations: 15.98 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.859, allocations: 15.92 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.859, allocations: 4 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.8591, allocations: 100 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8591, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003187/0.8594, allocations: 47.86 kB / 1.173 GB, free: 12.85 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.0003146/0.8597, allocations: 160 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.86, allocations: 95.77 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.86, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.8601, allocations: 47.92 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.8604, allocations: 19.92 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.8608, allocations: 211.7 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.8611, allocations: 0.6963 MB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.8612, allocations: 4.438 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.8612, allocations: 15.44 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.8612, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.004685/0.8659, allocations: 1.806 MB / 1.176 GB, free: 9.766 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches