Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.007968/0.007968, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001656/0.001656, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.465/2.465, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7387, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002727/0.7415, allocations: 1.599 MB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.7428, allocations: 0.779 MB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.7429, allocations: 4 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.743, allocations: 7.875 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.7431, allocations: 19.78 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.7436, allocations: 143.6 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.7438, allocations: 147.6 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.7439, allocations: 19.98 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.744, allocations: 55.83 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.7441, allocations: 63.8 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.7442, allocations: 15.94 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.7444, allocations: 103.8 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.7444, allocations: 35.94 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.7445, allocations: 55.72 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.7448, allocations: 199 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7448, allocations: 0 / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7448, allocations: 0 / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7448, allocations: 0 / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007326/0.7455, allocations: 490.1 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.7456, allocations: 16.56 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.7456, allocations: 38.73 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.7457, allocations: 8.891 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.7458, allocations: 185.7 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.7458, allocations: 8.375 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.7459, allocations: 11.92 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.7461, allocations: 93.56 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7461, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.7461, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7461, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.7463, allocations: 63.95 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.7472, allocations: 368.7 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.7473, allocations: 70.48 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.7475, allocations: 56.83 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.7475, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.7478, allocations: 103.3 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.7478, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005475/0.7483, allocations: 209.5 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.7484, allocations: 63.39 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.7485, allocations: 143.8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.7485, allocations: 33.64 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.7486, allocations: 100.3 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.7486, allocations: 19.84 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.7487, allocations: 29.7 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7488, allocations: 322.8 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.7489, allocations: 51.91 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.7491, allocations: 69.77 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.7493, allocations: 112.6 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7493, allocations: 4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003384/0.7497, allocations: 157.4 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.7497, allocations: 4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.7497, allocations: 11.92 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7497, allocations: 96 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7499, allocations: 28.03 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7499, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.75, allocations: 15.88 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.75, allocations: 11.98 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$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.555e-05/0.7501, allocations: 124 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.7502, allocations: 7.953 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.7502, allocations: 12.72 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7502, allocations: 7.938 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7502, allocations: 3.984 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7502, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.7508, allocations: 458.5 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7508, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.7509, allocations: 7.938 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7509, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.7509, allocations: 11.98 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.751, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.751, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.7514, allocations: 267.3 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.7514, allocations: 92.98 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.7515, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.7516, allocations: 4 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.7517, allocations: 15.98 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.7517, allocations: 7.984 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.7518, allocations: 108.9 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7518, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003153/0.7521, allocations: 47.86 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008818/0.753, allocations: 0.8679 MB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.7533, allocations: 104.1 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7533, allocations: 8 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7535, allocations: 55.91 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.7538, allocations: 12.11 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.7559, allocations: 1.725 MB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.7562, allocations: 0.7001 MB / 1.177 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.7562, allocations: 12.06 kB / 1.177 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.7563, allocations: 31.42 kB / 1.177 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.7563, allocations: 0 / 1.177 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.7759, allocations: 3.401 MB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/7.998, allocations: 18.94 kB / 1.18 GB, free: 5.184 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.TOut,win.pClose,win.pOpen,TIn.amplitude