Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006279/0.006279, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002227/0.002227, allocations: 190.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.412/2.412, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.452/4.452, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002687, allocations: 63.42 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4713, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002967/0.4743, allocations: 1.575 MB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4755, allocations: 0.7594 MB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.4756, allocations: 0 / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.4756, allocations: 3.938 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.889e-05/0.4757, allocations: 15.91 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.4762, allocations: 111.8 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.4763, allocations: 75.78 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.4764, allocations: 23.92 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/0.4765, allocations: 39.84 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.4766, allocations: 39.83 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4766, allocations: 4 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.4768, allocations: 99.84 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.4768, allocations: 19.92 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.4768, allocations: 31.84 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.477, allocations: 151.9 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4771, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4771, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.4771, allocations: 0 / 1.055 GB, free: 5.672 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.0006544/0.4777, allocations: 458.6 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4778, allocations: 8.625 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.4778, allocations: 34.75 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.4779, allocations: 8.844 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.478, allocations: 180.2 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.478, allocations: 16.25 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.478, allocations: 4.375 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4782, allocations: 77.77 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4782, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4782, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.4782, allocations: 4 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4784, allocations: 43.95 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.4789, allocations: 328.5 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.479, allocations: 62.55 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.4791, allocations: 36.84 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.4791, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.4793, allocations: 95.39 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4794, allocations: 0 / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0003655/0.4797, allocations: 161.5 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4798, allocations: 51.41 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.4799, allocations: 133 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4799, allocations: 25.7 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.48, allocations: 100.3 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.48, allocations: 19.81 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.48, allocations: 29.7 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4801, allocations: 326.8 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.4802, allocations: 23.98 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.4803, allocations: 65.5 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4805, allocations: 101 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4805, allocations: 0 / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000233/0.4807, allocations: 141.4 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4808, allocations: 7.938 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4808, allocations: 4 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.4808, allocations: 3.938 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4809, allocations: 15.98 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4809, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.481, allocations: 19.86 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.481, allocations: 8 kB / 1.058 GB, free: 2.848 MB / 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 (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 9.347e-05/0.4811, allocations: 127.4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.4812, allocations: 7.906 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.4815, allocations: 145.9 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4815, allocations: 3.984 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4815, allocations: 0 / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4815, allocations: 0 / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.482, allocations: 430.4 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.482, allocations: 4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.4821, allocations: 15.92 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4821, allocations: 4 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4821, allocations: 0 / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4822, allocations: 3.938 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4822, allocations: 96 / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.4824, allocations: 235.3 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.4825, allocations: 88.95 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.4825, allocations: 4 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4826, allocations: 11.92 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.4827, allocations: 11.98 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4827, allocations: 4 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.4828, allocations: 95.27 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4828, allocations: 3.938 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002883/0.4831, allocations: 47.98 kB / 1.059 GB, free: 1.523 MB / 0.8106 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.0007113/0.4838, allocations: 0.8175 MB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.484, allocations: 95.83 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.484, allocations: 0 / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.4841, allocations: 43.98 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4844, allocations: 24.19 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.486, allocations: 1.605 MB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.4862, allocations: 0.7038 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.4863, allocations: 12.44 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.4863, allocations: 27.42 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4863, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05494/0.5413, allocations: 2.918 MB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004873/0.5419, allocations: 258.6 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/4.474, allocations: 0 / 1.065 GB, free: 11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches