Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.001163/0.001163, 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.001197/0.001197, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.504/2.504, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.6557, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003013/0.6587, allocations: 1.585 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.6603, allocations: 0.7635 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.6604, allocations: 4 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.6605, allocations: 3.938 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.6606, allocations: 15.86 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.6612, allocations: 107.8 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.6613, allocations: 91.69 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.6614, allocations: 15.98 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.6615, allocations: 43.8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.6616, allocations: 47.81 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.6616, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.6618, allocations: 91.98 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.6618, allocations: 23.84 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.6619, allocations: 35.7 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.6621, allocations: 149.9 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6621, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6621, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6621, allocations: 0 / 1.02 GB, free: 15.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007209/0.6629, allocations: 0.4924 MB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6629, allocations: 8.031 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.663, allocations: 42.73 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.663, allocations: 8.844 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6631, allocations: 172.2 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.6632, allocations: 12.31 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.6632, allocations: 8.359 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.6634, allocations: 85.77 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6634, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.6634, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6634, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.6636, allocations: 51.95 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.6641, allocations: 340.6 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.6644, allocations: 82.67 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.6645, allocations: 36.84 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.6645, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.6647, allocations: 99.3 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.6647, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004191/0.6652, allocations: 177.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.6652, allocations: 59.39 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.6653, allocations: 128.5 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.6654, allocations: 33.69 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.6654, allocations: 88.14 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.6654, allocations: 39.53 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.6655, allocations: 41.64 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6656, allocations: 318.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.6657, allocations: 35.91 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.721e-05/0.6658, allocations: 69.14 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.666, allocations: 105.1 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.666, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002443/0.6663, allocations: 137.4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6663, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6663, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6663, allocations: 4.094 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.6664, allocations: 19.92 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6665, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.6666, allocations: 15.98 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.6666, allocations: 8 kB / 1.022 GB, free: 12.8 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.943e-05/0.6667, allocations: 122.2 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.6667, allocations: 7.906 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.6671, allocations: 174.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6671, allocations: 3.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6671, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.6671, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.6677, allocations: 451.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6677, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.6678, allocations: 11.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6678, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6678, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6678, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6678, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.6681, allocations: 244.2 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.6682, allocations: 92.91 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.6682, allocations: 0 / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6683, allocations: 19.92 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.6684, allocations: 7.984 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.6684, allocations: 4 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.6685, allocations: 105 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6685, allocations: 0 / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003087/0.6688, allocations: 47.92 kB / 1.023 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.000781/0.6696, allocations: 0.8289 MB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.6698, allocations: 95.89 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6699, allocations: 4.188 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.67, allocations: 59.84 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.6703, allocations: 24.36 kB / 1.024 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.672, allocations: 1.643 MB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.6722, allocations: 0.7004 MB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.04e-05/0.6723, allocations: 8.438 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.6724, allocations: 31.42 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6724, allocations: 4 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08181/0.7542, allocations: 3.049 MB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/0.7545, allocations: 255.7 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.53, allocations: 4.062 kB / 1.03 GB, free: 4.695 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches