Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_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.005951/0.00595, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001174/0.001174, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7422 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.89 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2705, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002576/0.2731, allocations: 1.584 MB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2745, allocations: 0.7827 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.2746, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.2746, allocations: 7.875 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.2747, allocations: 27.78 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.2753, allocations: 143.6 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.2755, allocations: 139.6 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.2756, allocations: 15.98 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.2757, allocations: 63.83 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.2758, allocations: 67.8 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2759, allocations: 15.94 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.2761, allocations: 99.91 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.2761, allocations: 35.88 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.2762, allocations: 55.72 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.2765, allocations: 199.3 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2765, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2765, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2765, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 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.0007005/0.2772, allocations: 491.8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2773, allocations: 8.031 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.2773, allocations: 42.73 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.2773, allocations: 8.891 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2775, allocations: 182.9 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2775, allocations: 8.359 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.2775, allocations: 15.88 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.2778, allocations: 97.55 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2778, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2778, allocations: 8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2778, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.278, allocations: 59.95 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.2789, allocations: 380.6 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.279, allocations: 74.42 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2792, allocations: 52.83 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2792, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.2795, allocations: 103.3 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2795, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005539/0.28, allocations: 209.5 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.2801, allocations: 59.39 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2802, allocations: 143.3 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2802, allocations: 29.7 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2803, allocations: 104.3 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.2803, allocations: 27.95 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.2804, allocations: 33.64 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.2805, allocations: 322.8 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.2806, allocations: 36.08 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2807, allocations: 86.7 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.281, allocations: 112.2 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.281, allocations: 0 / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003374/0.2813, allocations: 157.5 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2813, allocations: 7.984 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2814, allocations: 0 / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2814, allocations: 4 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2815, allocations: 23.92 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2815, allocations: 4 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.2817, allocations: 11.89 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2817, allocations: 7.984 kB / 1.226 GB, free: 8.344 MB / 0.9825 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.556e-05/0.2818, allocations: 129.9 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.2818, allocations: 7.953 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.2819, allocations: 8.719 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2819, allocations: 8.312 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2819, allocations: 3.984 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2819, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.2825, allocations: 466.3 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2825, allocations: 0 / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.2825, allocations: 8 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.2826, allocations: 4 kB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2826, allocations: 7.984 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2826, allocations: 0 / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2826, allocations: 0 / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.283, allocations: 271.3 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.2831, allocations: 88.98 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.2831, allocations: 4 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2832, allocations: 8 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2833, allocations: 8.031 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2833, allocations: 7.969 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.2834, allocations: 108.7 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2834, allocations: 0 / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003247/0.2837, allocations: 55.86 kB / 1.227 GB, free: 7.066 MB / 0.9825 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.0008601/0.2846, allocations: 0.8747 MB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.2849, allocations: 107.9 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2849, allocations: 0 / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.2851, allocations: 59.91 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2854, allocations: 7.984 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.2872, allocations: 1.721 MB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2874, allocations: 0.701 MB / 1.23 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.2875, allocations: 8 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.2876, allocations: 27.42 kB / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2876, allocations: 0 / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.3067, allocations: 3.411 MB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.504, allocations: 10.67 kB / 1.234 GB, free: 160 kB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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