Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_11_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.005361/0.005361, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001562/0.001561, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.72/2.72, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6423, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002562/0.6449, allocations: 1.533 MB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.6462, allocations: 0.7449 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.6462, allocations: 3.938 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.6463, allocations: 3.938 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.436e-05/0.6464, allocations: 23.8 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.6469, allocations: 131.6 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.647, allocations: 87.77 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.6471, allocations: 15.98 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.6472, allocations: 43.78 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.6473, allocations: 51.81 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.6473, allocations: 11.94 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.6475, allocations: 103.8 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.6476, allocations: 23.91 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.6476, allocations: 35.8 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.6479, allocations: 155.2 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6479, allocations: 4 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.015e-06/0.6479, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6479, allocations: 3.938 kB / 1.223 GB, free: 15.02 MB / 0.9512 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.0007391/0.6486, allocations: 499.9 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.6487, allocations: 16.03 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.6487, allocations: 38.73 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.6488, allocations: 8.891 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.6489, allocations: 180.2 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.6489, allocations: 8.359 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.649, allocations: 4.375 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.6492, allocations: 81.77 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6492, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.6492, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.6492, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.6494, allocations: 55.91 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.6499, allocations: 336.6 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.6502, allocations: 86.69 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6503, allocations: 44.84 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.6503, allocations: 3.984 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.6506, allocations: 95.36 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.6506, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004467/0.651, allocations: 173.5 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.6511, allocations: 63.33 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.6512, allocations: 138.1 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6512, allocations: 29.7 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.6513, allocations: 88.14 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.6513, allocations: 23.84 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/0.6514, allocations: 37.7 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6515, allocations: 322.8 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.6516, allocations: 35.91 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6518, allocations: 67.95 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.652, allocations: 109 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.652, allocations: 4 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002784/0.6523, allocations: 137.4 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6523, allocations: 8 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6523, allocations: 4 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6523, allocations: 7.938 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6524, allocations: 23.92 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6524, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.6526, allocations: 12.08 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6526, allocations: 8 kB / 1.226 GB, free: 12.03 MB / 0.9512 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 0.0001038/0.6527, allocations: 132.8 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.6527, allocations: 7.953 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.6531, allocations: 167.3 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6531, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6531, allocations: 0 / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6531, allocations: 0 / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.6538, allocations: 446.3 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.6538, allocations: 144 / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.6539, allocations: 11.98 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6539, allocations: 7.984 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.6539, allocations: 4 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6539, allocations: 3.938 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6539, allocations: 11.91 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.6543, allocations: 249.7 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.6544, allocations: 85.06 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.6544, allocations: 3.938 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.6545, allocations: 11.98 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.6546, allocations: 11.98 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.6546, allocations: 4 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.991e-05/0.6547, allocations: 99.27 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6547, allocations: 4 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003126/0.655, allocations: 47.86 kB / 1.227 GB, free: 10.63 MB / 0.9512 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.0008731/0.6559, allocations: 0.8461 MB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.6561, allocations: 91.89 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6561, allocations: 0 / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.6563, allocations: 56.66 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.6566, allocations: 22.02 kB / 1.228 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.6585, allocations: 1.651 MB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.6588, allocations: 0.7002 MB / 1.23 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.6588, allocations: 4.719 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.6589, allocations: 31.42 kB / 1.23 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.6589, allocations: 4 kB / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.6828, allocations: 3.314 MB / 1.233 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.445, allocations: 11.94 kB / 1.233 GB, free: 3.883 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[575]=3600.000000 File[1254]=2249.280000 Error: Could not read variable lig.occ in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! " Variables in the reference:time,lig.ill,lig.occ,lig.pArriv,lig.on Variables in the result:time,lig.ill,lig.pArriv,lig.pInter,booleanPulse.period,booleanPulse.startTime