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.001636/0.001635, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002187/0.002187, allocations: 195.9 kB / 16.14 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.485/2.485, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5542, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002604/0.5568, allocations: 1.587 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.5582, allocations: 0.7751 MB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.5582, allocations: 4 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.5583, allocations: 3.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.5584, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.5588, allocations: 111.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.5589, allocations: 79.78 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.559, allocations: 11.98 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.5591, allocations: 39.78 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.5592, allocations: 39.83 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.5592, allocations: 4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.5594, allocations: 95.84 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.5595, allocations: 23.91 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.5595, allocations: 31.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.5597, allocations: 145.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5597, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5598, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.5598, 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.0007836/0.5606, allocations: 472.3 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5606, allocations: 12.03 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.5606, allocations: 42.73 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.5607, allocations: 8.844 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.5608, allocations: 176.2 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.5609, allocations: 42.25 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.5609, allocations: 4.375 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.5611, allocations: 77.58 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5612, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5612, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5612, allocations: 11.94 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.5614, allocations: 55.83 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.5619, allocations: 316.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.5621, allocations: 78.53 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.5622, allocations: 36.88 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5623, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.5625, allocations: 95.25 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.5625, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004934/0.563, allocations: 169.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.5631, allocations: 51.41 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5632, allocations: 138 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.5633, allocations: 29.69 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.5633, allocations: 92.38 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.5633, allocations: 23.86 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.5634, allocations: 33.7 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5636, allocations: 326.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5637, allocations: 31.97 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5638, allocations: 73.06 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.5641, allocations: 105.1 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5641, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003163/0.5645, allocations: 133.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5645, allocations: 11.98 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5645, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5645, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5646, allocations: 19.92 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5647, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.5648, allocations: 23.83 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.5648, allocations: 4.125 kB / 1.022 GB, free: 12.89 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 0.0001034/0.5649, allocations: 126.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.5649, allocations: 7.906 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.565, allocations: 16.7 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.565, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.565, allocations: 7.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.565, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.5656, allocations: 422.3 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5657, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.5657, allocations: 15.92 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5658, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.5658, allocations: 7.984 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5658, allocations: 3.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5658, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.5661, allocations: 227.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.5662, allocations: 92.98 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.5662, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.5664, allocations: 15.92 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.5664, allocations: 7.984 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5665, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.694e-05/0.5665, allocations: 116.7 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5665, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000308/0.5669, allocations: 36 kB / 1.023 GB, free: 11.7 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.000839/0.5677, allocations: 0.829 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.568, allocations: 83.89 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.568, allocations: 0 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5682, allocations: 52.16 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.5685, allocations: 23.83 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.5705, allocations: 1.637 MB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.5708, allocations: 0.697 MB / 1.026 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.292e-05/0.5709, allocations: 8.672 kB / 1.026 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.5709, allocations: 27.61 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5709, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.247/1.818, allocations: 2.832 MB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/1.818, allocations: 250.3 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/3.682, allocations: 3.5 kB / 1.03 GB, free: 5.238 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