Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_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.004198/0.004198, allocations: 96.17 kB / 15.73 MB, free: 6.039 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.001251/0.001251, allocations: 196.1 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 72.09 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2678, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002692/0.2705, allocations: 1.587 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2718, allocations: 0.7829 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.2719, allocations: 7.938 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.2719, allocations: 11.86 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.272, allocations: 15.8 kB / 1.223 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.2725, allocations: 143.6 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.2727, allocations: 131.6 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.2728, allocations: 31.97 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2729, allocations: 55.78 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.273, allocations: 71.77 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2731, allocations: 12 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2733, allocations: 103.8 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.2733, allocations: 27.91 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.2734, allocations: 59.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.2737, allocations: 195.3 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2737, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2737, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2737, allocations: 0 / 1.223 GB, free: 11.12 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.0007556/0.2745, allocations: 494.1 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2745, allocations: 12.03 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.2746, allocations: 38.75 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.2746, allocations: 8.891 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2748, allocations: 197.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.2748, allocations: 12.31 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.2748, allocations: 7.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.2751, allocations: 89.62 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2751, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2751, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2751, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2753, allocations: 55.95 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.2762, allocations: 384.6 kB / 1.225 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2764, allocations: 66.55 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2766, allocations: 56.83 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2766, allocations: 4.141 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.2769, allocations: 103.3 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2769, allocations: 0 / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005993/0.2775, allocations: 217.4 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2775, allocations: 59.41 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2777, allocations: 143.8 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2777, allocations: 29.7 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.2778, allocations: 100.3 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2778, allocations: 27.78 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.2779, allocations: 29.7 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.278, allocations: 322.9 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2782, allocations: 43.92 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2783, allocations: 83.88 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.2786, allocations: 108.2 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2786, allocations: 4 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003666/0.279, allocations: 157.5 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.279, allocations: 4 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.279, allocations: 4 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.279, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2792, allocations: 27.95 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2792, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2793, allocations: 15.88 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2793, allocations: 8 kB / 1.226 GB, free: 7.984 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.956e-05/0.2794, allocations: 117.8 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2795, allocations: 7.953 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.2795, allocations: 16.7 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2795, allocations: 7.938 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2795, allocations: 64 / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2795, allocations: 4 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.2802, allocations: 458.4 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2802, allocations: 0 / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.2803, allocations: 15.86 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2803, allocations: 4.469 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2803, allocations: 4 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2803, allocations: 4 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2803, allocations: 0 / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.2808, allocations: 279.3 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2809, allocations: 89 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2809, allocations: 0 / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.281, allocations: 7.984 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2811, allocations: 12 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2811, allocations: 7.984 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.2812, allocations: 105.1 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2812, allocations: 0 / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003084/0.2815, allocations: 47.86 kB / 1.227 GB, free: 6.715 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.0009888/0.2825, allocations: 0.8692 MB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.2829, allocations: 107.9 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2829, allocations: 8.125 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.283, allocations: 55.97 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2833, allocations: 9.719 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.2854, allocations: 1.715 MB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2858, allocations: 0.7041 MB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.2858, allocations: 4 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.2859, allocations: 31.42 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2859, allocations: 0 / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3097, allocations: 3.399 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.02, allocations: 9 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_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_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv. Warning: Get data of variable win.on from file Buildings_11_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