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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.0008722/0.0008723, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005546/0.005546, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5451, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00139/0.5465, allocations: 1.227 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.5477, allocations: 0.7442 MB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.5478, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.5478, allocations: 3.938 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.5479, allocations: 15.91 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.5484, allocations: 107.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.5485, allocations: 71.78 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.5486, allocations: 15.98 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.5487, allocations: 39.78 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.5487, allocations: 27.84 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5487, allocations: 8 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.5489, allocations: 95.84 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.549, allocations: 19.91 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.549, allocations: 61.48 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.5492, allocations: 137.9 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5492, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5492, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.5492, allocations: 0 / 1.026 GB, free: 13.28 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.0005774/0.5498, allocations: 458.6 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5499, allocations: 15.95 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.5499, allocations: 38.75 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.5499, allocations: 8.844 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.55, allocations: 175.7 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.5501, allocations: 8.297 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.5501, allocations: 8.375 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.5503, allocations: 81.77 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5503, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5503, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5503, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.5504, allocations: 43.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.5509, allocations: 332.7 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.5511, allocations: 62.55 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.5512, allocations: 36.84 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.5512, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.5514, allocations: 99.39 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.5514, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003526/0.5517, allocations: 165.8 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.5518, allocations: 51.5 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.5519, allocations: 141.7 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5519, allocations: 25.7 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.552, allocations: 92.38 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.552, allocations: 27.8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.552, allocations: 21.7 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.5521, allocations: 326.8 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.5522, allocations: 23.98 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.5523, allocations: 73.12 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5525, allocations: 105 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5525, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002274/0.5527, allocations: 133.4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5527, allocations: 4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5527, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.5527, allocations: 8.125 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.5528, allocations: 19.98 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5529, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/0.553, allocations: 23.92 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.553, allocations: 7.938 kB / 1.028 GB, free: 10.43 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 8.199e-05/0.5531, allocations: 124 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.5531, allocations: 7.906 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.5534, allocations: 157.9 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5534, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5534, allocations: 96 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5534, allocations: 7.969 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.5539, allocations: 430.3 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5539, allocations: 0 / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.554, allocations: 15.92 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.554, allocations: 4 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.554, allocations: 4 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.554, allocations: 3.938 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.554, allocations: 0 / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5543, allocations: 231.3 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.5543, allocations: 85.02 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.5544, allocations: 4 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5545, allocations: 15.92 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.5545, allocations: 11.98 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5545, allocations: 8 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.5546, allocations: 95.27 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5546, allocations: 3.938 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002822/0.5549, allocations: 43.98 kB / 1.029 GB, free: 9.086 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.0006526/0.5555, allocations: 0.8266 MB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.5558, allocations: 87.89 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5558, allocations: 4.188 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.5559, allocations: 47.98 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.5561, allocations: 15.92 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.5576, allocations: 1.635 MB / 1.032 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.5578, allocations: 0.7004 MB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.5578, allocations: 12.62 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.5579, allocations: 27.42 kB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5579, allocations: 0 / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.901/3.459, allocations: 2.718 MB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/3.459, allocations: 263.6 kB / 1.036 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/5.157, allocations: 5.469 kB / 1.036 GB, free: 2.75 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > 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/jenkins1/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