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.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.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.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 196 kB / 16.53 MB, free: 6.672 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.611/2.611, allocations: 437 MB / 0.7104 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 71.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5555, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002519/0.5581, allocations: 1.52 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.5593, allocations: 0.7634 MB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.5594, allocations: 3.938 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.5594, allocations: 3.938 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.5595, allocations: 15.86 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.56, allocations: 127.5 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.5601, allocations: 83.77 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.5602, allocations: 15.98 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.5603, allocations: 47.8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.5604, allocations: 43.81 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.5604, allocations: 8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.5606, allocations: 91.91 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.5607, allocations: 19.92 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.5607, allocations: 43.78 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.5609, allocations: 145.9 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5609, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5609, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.561, allocations: 0 / 1.02 GB, free: 15.55 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.0006958/0.5617, allocations: 474.5 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.5617, allocations: 8.031 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.5617, allocations: 38.75 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5618, allocations: 8.844 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5619, allocations: 190.4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.562, allocations: 38.27 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.562, allocations: 4.375 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.5622, allocations: 85.45 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5622, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5622, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5622, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.5624, allocations: 51.95 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.5629, allocations: 320.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.5631, allocations: 66.55 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5633, allocations: 40.84 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.5633, allocations: 7.984 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.5635, allocations: 91.39 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.5635, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000475/0.564, allocations: 173.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5641, allocations: 55.56 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.5642, allocations: 138 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5642, allocations: 25.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.5643, allocations: 96.36 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.5643, allocations: 23.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.5643, allocations: 29.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.5644, allocations: 326.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.5645, allocations: 31.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.5647, allocations: 69.12 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5649, allocations: 113 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5649, allocations: 3.938 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002876/0.5652, allocations: 137.9 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5652, allocations: 8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5652, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5653, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5654, allocations: 19.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5654, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.5655, allocations: 19.92 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.5655, allocations: 4 kB / 1.023 GB, free: 12.6 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.188e-05/0.5656, allocations: 135.1 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.5656, allocations: 11.81 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.5657, allocations: 12.72 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5657, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5657, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5657, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.5663, allocations: 426.3 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5663, allocations: 7.938 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.5664, allocations: 7.984 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5664, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5664, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5664, allocations: 7.875 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5664, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.5667, allocations: 231.3 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.5668, allocations: 85.02 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.5668, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.567, allocations: 15.92 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.567, allocations: 11.98 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.567, allocations: 3.984 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.5671, allocations: 108.8 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5671, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002904/0.5674, allocations: 36 kB / 1.024 GB, free: 11.41 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.0007691/0.5682, allocations: 0.8353 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.5685, allocations: 99.81 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5685, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.5686, allocations: 43.97 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.5689, allocations: 16.19 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.5706, allocations: 1.634 MB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.5709, allocations: 0.6926 MB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.154e-05/0.5709, allocations: 8.672 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.571, allocations: 27.42 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.571, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.5892, allocations: 3.054 MB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.573, allocations: 15.83 kB / 1.03 GB, free: 4.941 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