Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.000916/0.000916, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00605/0.00605, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.231/1.231, 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.47/2.47, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5731/0.5734, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001736/0.5752, allocations: 1.246 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.5765, allocations: 0.7403 MB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.5765, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.5766, allocations: 3.938 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.5767, allocations: 19.84 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.5772, allocations: 107.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.5773, allocations: 79.77 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.5774, allocations: 12 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.5775, allocations: 39.83 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.5776, allocations: 35.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.5776, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.5778, allocations: 99.84 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.5779, allocations: 15.92 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.5779, allocations: 65.48 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.5782, allocations: 141.9 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5782, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.524e-06/0.5782, allocations: 3.938 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5782, allocations: 3.938 kB / 1.026 GB, free: 13.21 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.000724/0.579, allocations: 470.5 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.579, allocations: 8.031 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.5791, allocations: 38.75 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.5791, allocations: 12.84 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5792, allocations: 178.8 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.5793, allocations: 38.27 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.5793, allocations: 4.375 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.5796, allocations: 89.52 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.5796, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5796, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5796, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.5798, allocations: 59.89 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.5803, allocations: 324.7 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.5805, allocations: 74.58 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.5806, allocations: 40.83 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5807, allocations: 12.14 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.5809, allocations: 95.34 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.5809, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004688/0.5814, allocations: 177.5 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.5814, allocations: 55.41 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5815, allocations: 138.4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5816, allocations: 25.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.5816, allocations: 96.36 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.5817, allocations: 19.72 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.5817, allocations: 21.66 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5818, allocations: 330.8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.5819, allocations: 31.97 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.5821, allocations: 73.12 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.5823, allocations: 109.1 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5823, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003062/0.5826, allocations: 141.4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5826, allocations: 10.03 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5827, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5827, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5828, allocations: 23.92 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5828, allocations: 4.125 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5829, allocations: 27.83 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.5829, allocations: 4 kB / 1.028 GB, free: 10.24 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.043e-05/0.583, allocations: 122.2 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.5831, allocations: 7.906 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.5831, allocations: 20.7 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5831, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5831, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.5831, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.5837, allocations: 434.3 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5837, allocations: 0 / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.138e-05/0.5838, allocations: 15.98 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5838, allocations: 3.938 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5838, allocations: 3.984 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5839, allocations: 7.938 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5839, allocations: 0 / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.5842, allocations: 231.3 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.5842, allocations: 85.19 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.5843, allocations: 4 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5844, allocations: 27.86 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.5845, allocations: 7.984 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5845, allocations: 4 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.5846, allocations: 113 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5846, allocations: 4 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002943/0.5849, allocations: 40 kB / 1.029 GB, free: 9.023 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 (10): * Single equations (assignments): 7 * 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.0007995/0.5857, allocations: 0.8214 MB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.5859, allocations: 87.89 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.586, allocations: 256 / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.5861, allocations: 63.94 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5864, allocations: 15.92 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.5882, allocations: 1.647 MB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.5884, allocations: 0.697 MB / 1.033 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.5885, allocations: 8.656 kB / 1.033 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.5885, allocations: 27.42 kB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.5885, allocations: 0 / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.915/3.504, allocations: 2.729 MB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/3.504, allocations: 257.1 kB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/5.319, allocations: 0 / 1.036 GB, free: 2.672 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches