Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_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_latest_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.001037/0.001037, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001275/0.001275, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.955/2.955, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8.781 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002023/0.3843, allocations: 1.21 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3857, allocations: 0.7055 MB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.3858, allocations: 7.938 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3858, allocations: 3.984 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.386, allocations: 15.86 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.3866, allocations: 99.75 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3867, allocations: 67.78 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3868, allocations: 11.98 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.387, allocations: 47.78 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.387, allocations: 27.84 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3871, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.3873, allocations: 87.91 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.3873, allocations: 11.92 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.3874, allocations: 41.64 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3876, allocations: 100 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3876, allocations: 0 / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3876, allocations: 0 / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3876, allocations: 0 / 1.06 GB, free: 2.902 MB / 0.8106 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.000765/0.3884, allocations: 454.5 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3884, allocations: 8.031 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.3885, allocations: 11.84 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3886, allocations: 171 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3887, allocations: 8 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3887, allocations: 7.953 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3889, allocations: 81.58 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3889, allocations: 0 / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3889, allocations: 0 / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3889, allocations: 4 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3891, allocations: 39.97 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.3897, allocations: 332.6 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3898, allocations: 70.52 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.3899, allocations: 36.84 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.39, allocations: 8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.3902, allocations: 87.36 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3902, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004234/0.3906, allocations: 165.5 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.3907, allocations: 59.34 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3908, allocations: 129.8 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3909, allocations: 25.7 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.3909, allocations: 96.28 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.391, allocations: 19.95 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.391, allocations: 0 / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3911, allocations: 323.2 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.3912, allocations: 31.98 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.3913, allocations: 65.14 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.3914, allocations: 35.98 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3914, allocations: 7.938 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002362/0.3916, allocations: 129.5 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3917, allocations: 5.719 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3917, allocations: 7.984 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3917, allocations: 0 / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3918, allocations: 19.92 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3918, allocations: 8.125 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.392, allocations: 23.83 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.392, allocations: 4 kB / 1.063 GB, free: 228 kB / 0.8106 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3921, allocations: 129.7 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.3921, allocations: 11.91 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.3924, allocations: 153.9 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3925, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3925, allocations: 3.984 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3925, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.393, allocations: 438.3 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3931, allocations: 3.938 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.3931, allocations: 11.98 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3931, allocations: 0 / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3932, allocations: 8 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3932, allocations: 0 / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3932, allocations: 0 / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3935, allocations: 235.3 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3935, allocations: 88.95 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3935, allocations: 4 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3937, allocations: 11.98 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3937, allocations: 7.984 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3937, allocations: 4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.3938, allocations: 100.5 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.894e-06/0.3938, allocations: 4 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000323/0.3941, allocations: 47.92 kB / 1.064 GB, free: 14.88 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003649/0.3945, allocations: 158 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3948, allocations: 95.91 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3948, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.3949, allocations: 43.98 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3952, allocations: 19.94 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.3957, allocations: 235.2 kB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3959, allocations: 0.6965 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.396, allocations: 16.42 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.396, allocations: 11.44 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.396, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.004795/0.4008, allocations: 1.63 MB / 1.067 GB, free: 11.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches