Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_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.001581/0.001581, 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.001588/0.001588, allocations: 191 kB / 16.25 MB, free: 6.637 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.328/1.328, 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 10.1.1-maint.10.0.x/package.mo): time 2.334/2.334, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 68.09 kB / 0.8689 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5657, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002543/0.5683, allocations: 1.569 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.5694, allocations: 0.7596 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.5695, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.5695, allocations: 3.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.5696, allocations: 15.94 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.5701, allocations: 115.7 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.5702, allocations: 71.84 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.5703, allocations: 19.97 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.5704, allocations: 39.8 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.5704, allocations: 43.83 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.5704, allocations: 4 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.5706, allocations: 99.84 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.5706, allocations: 19.97 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.5707, allocations: 35.92 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.5709, allocations: 145.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.83 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.0006822/0.5716, allocations: 470.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.5717, allocations: 8.031 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.5717, allocations: 30.75 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.5717, allocations: 8.844 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5719, allocations: 188.1 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5719, allocations: 4.375 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.5719, allocations: 4.375 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.5721, allocations: 77.72 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5721, allocations: 3.984 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5721, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5721, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.5723, allocations: 43.91 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.5727, allocations: 312.7 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.5729, allocations: 70.55 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.573, allocations: 32.84 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.573, allocations: 96 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.5732, allocations: 91.3 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.5732, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003537/0.5736, allocations: 161.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5736, allocations: 55.41 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.5737, allocations: 136.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5737, allocations: 29.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.5738, allocations: 92.52 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.5738, allocations: 27.64 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.5739, allocations: 29.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.574, allocations: 326.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.5741, allocations: 27.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.5742, allocations: 65.08 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.5743, allocations: 101.1 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5743, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002235/0.5745, allocations: 133.4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5746, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5746, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.5746, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5747, allocations: 24.42 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5747, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.664e-05/0.5748, allocations: 19.92 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.5748, allocations: 8 kB / 1.022 GB, free: 13 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 9.052e-05/0.5749, allocations: 130.2 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.575, allocations: 7.906 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.5753, allocations: 153.9 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5753, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5753, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5753, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.5758, allocations: 438.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5758, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.5759, allocations: 8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5759, allocations: 7.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5759, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5759, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5759, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.5762, allocations: 231.3 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.5762, allocations: 84.95 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.5763, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5764, allocations: 11.92 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.5764, allocations: 15.98 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.5764, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.5765, allocations: 99.27 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5765, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002738/0.5768, allocations: 43.98 kB / 1.023 GB, free: 11.66 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.0007042/0.5775, allocations: 0.8183 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.5777, allocations: 87.89 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5777, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.5779, allocations: 52.16 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.5781, allocations: 19.92 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5796, allocations: 1.606 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.5799, allocations: 0.7001 MB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.5799, allocations: 8.438 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.58, allocations: 27.42 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.58, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.902/3.482, allocations: 2.915 MB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/3.483, allocations: 258.4 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/5.629, allocations: 2.625 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches