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.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.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.0008337/0.0008337, allocations: 98.11 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.00536/0.00536, allocations: 172.5 kB / 16.27 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.316/2.316, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 11.98 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5518, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001405/0.5533, allocations: 1.223 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.5544, allocations: 0.752 MB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.5544, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.5544, allocations: 7.922 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.5545, allocations: 11.92 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.5549, allocations: 107.8 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.688e-05/0.555, allocations: 79.77 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.5551, allocations: 8 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.5552, allocations: 43.77 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.5552, allocations: 31.84 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.5553, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.5554, allocations: 95.84 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.5554, allocations: 15.97 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.5555, allocations: 61.5 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.5557, allocations: 141.9 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5557, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5557, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.5557, allocations: 0 / 1.026 GB, free: 13.27 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.0005849/0.5563, allocations: 458.6 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5564, allocations: 8.031 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.5564, allocations: 42.73 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.5564, allocations: 12.78 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.5565, allocations: 172.2 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5566, allocations: 8.312 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.5566, allocations: 8.375 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.5567, allocations: 77.77 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5568, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5568, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5568, allocations: 7.984 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.5569, allocations: 39.97 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.5574, allocations: 332.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.5575, allocations: 62.56 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.5576, allocations: 36.84 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.5576, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.5578, allocations: 103.3 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5578, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003525/0.5582, allocations: 161.5 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.5582, allocations: 51.41 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.5583, allocations: 137.6 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5584, allocations: 25.7 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.5584, allocations: 100.4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.5584, allocations: 27.8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.5585, allocations: 21.7 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.5586, allocations: 322.8 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.5587, allocations: 31.97 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.72e-05/0.5587, allocations: 65.14 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.5589, allocations: 105 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5589, allocations: 4 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002201/0.5592, allocations: 133.4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5592, allocations: 4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5592, allocations: 4 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5592, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.5593, allocations: 19.98 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5593, allocations: 8.125 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.5594, allocations: 15.92 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5594, allocations: 4 kB / 1.028 GB, free: 10.42 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.612e-05/0.5595, allocations: 127.6 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.5595, allocations: 11.84 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.5598, allocations: 157.9 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5599, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5599, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5599, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.5604, allocations: 434.7 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5604, allocations: 0 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.5604, allocations: 15.94 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5605, allocations: 4.094 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5605, allocations: 7.922 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5605, allocations: 3.938 kB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5605, allocations: 3.984 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.5607, allocations: 227.4 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.5608, allocations: 89 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.5608, allocations: 4 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5609, allocations: 15.92 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.561, allocations: 11.98 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.561, allocations: 8 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.5611, allocations: 91.27 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5611, allocations: 7.938 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002673/0.5613, allocations: 43.98 kB / 1.029 GB, free: 9.07 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.0006625/0.562, allocations: 0.8266 MB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.5622, allocations: 83.89 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5622, allocations: 3.938 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.5623, allocations: 48.22 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5626, allocations: 25.08 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.564, allocations: 1.628 MB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.5642, allocations: 0.6965 MB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.5643, allocations: 12.42 kB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.5644, allocations: 31.42 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5644, allocations: 0 / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.971/3.535, allocations: 2.724 MB / 1.035 GB, free: 3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/3.536, allocations: 265.5 kB / 1.036 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/5.234, allocations: 0 / 1.036 GB, free: 2.734 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