Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_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.0009278/0.0009277, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001007/0.001007, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5515, allocations: 140.4 MB / 0.949 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002117/0.5537, allocations: 1.565 MB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.5546, allocations: 0.7612 MB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.5547, allocations: 1.438 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.5547, allocations: 3.938 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.5548, allocations: 17.38 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.5552, allocations: 106.3 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.5553, allocations: 73.56 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.5553, allocations: 16.72 kB / 0.9515 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.5554, allocations: 40.25 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.5555, allocations: 34.2 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.5555, allocations: 4.219 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.5556, allocations: 94.38 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.5557, allocations: 18.67 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.5557, allocations: 38.75 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.5559, allocations: 141.6 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5559, allocations: 0 / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5559, allocations: 0 / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.5559, allocations: 0.9375 kB / 0.9519 GB, free: 6.941 MB / 0.7169 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.0005219/0.5564, allocations: 468.7 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.5565, allocations: 10.22 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.5565, allocations: 36.09 kB / 0.9524 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.5565, allocations: 8.406 kB / 0.9524 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.5566, allocations: 181.1 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5566, allocations: 3.094 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.5567, allocations: 4.188 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.5568, allocations: 82.55 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5568, allocations: 0 / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5569, allocations: 0 / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5569, allocations: 1.5 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.557, allocations: 49.52 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.5574, allocations: 318.1 kB / 0.953 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.5575, allocations: 72.34 kB / 0.9531 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.5576, allocations: 31.47 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5576, allocations: 5.25 kB / 0.9531 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.5578, allocations: 89.61 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.5578, allocations: 0 / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003438/0.5582, allocations: 157.7 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5582, allocations: 57.91 kB / 0.9534 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.5583, allocations: 132.2 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.5583, allocations: 35.02 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.5583, allocations: 86.94 kB / 0.9536 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.5583, allocations: 27.7 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.5584, allocations: 31.92 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.619e-05/0.5584, allocations: 324.4 kB / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.5585, allocations: 27.08 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.5586, allocations: 75.59 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.5587, allocations: 97.11 kB / 0.9542 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5587, allocations: 5.094 kB / 0.9542 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002105/0.559, allocations: 131 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.559, allocations: 6.156 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.559, allocations: 1.188 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.559, allocations: 2.781 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.5591, allocations: 17.98 kB / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5591, allocations: 2.531 kB / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.5592, allocations: 26.92 kB / 0.9544 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5592, allocations: 3.562 kB / 0.9544 GB, free: 4.574 MB / 0.7169 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 5.826e-05/0.5593, allocations: 124.4 kB / 0.9545 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.5593, allocations: 8.281 kB / 0.9545 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.5596, allocations: 145.3 kB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5596, allocations: 1.469 kB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5596, allocations: 3.984 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5596, allocations: 5.344 kB / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.5601, allocations: 426.8 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5601, allocations: 0 / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.5601, allocations: 11.77 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5602, allocations: 1.312 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5602, allocations: 1.125 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.5602, allocations: 5.062 kB / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5602, allocations: 4.094 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.5604, allocations: 235.8 kB / 0.9553 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.5604, allocations: 87.83 kB / 0.9554 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.5605, allocations: 1.438 kB / 0.9554 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5606, allocations: 17.42 kB / 0.9554 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.5606, allocations: 7.984 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5607, allocations: 4.75 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.5607, allocations: 101.7 kB / 0.9555 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5607, allocations: 0.9062 kB / 0.9555 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000292/0.561, allocations: 43.42 kB / 0.9556 GB, free: 3.539 MB / 0.7169 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.0005542/0.5616, allocations: 0.8211 MB / 0.9564 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.5618, allocations: 81.61 kB / 0.9564 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5618, allocations: 1 kB / 0.9564 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.5619, allocations: 47.95 kB / 0.9565 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5622, allocations: 22.98 kB / 0.9565 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5634, allocations: 1.596 MB / 0.9581 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.281e-05/0.5635, allocations: 0.6974 MB / 0.9587 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.492e-05/0.5635, allocations: 6.781 kB / 0.9588 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.5636, allocations: 24.05 kB / 0.9588 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5636, allocations: 0 / 0.9588 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4814/1.045, allocations: 2.829 MB / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/1.045, allocations: 263.3 kB / 0.9618 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.52, allocations: 0 / 0.9618 GB, free: 14.85 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches