Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.007137/0.007137, allocations: 101 kB / 15.73 MB, free: 6.449 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.00205/0.00205, allocations: 193 kB / 16.67 MB, free: 6.352 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2688, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002545/0.2714, allocations: 1.502 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2726, allocations: 0.7284 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.2726, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.2727, allocations: 15.8 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.2727, allocations: 11.92 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.2732, allocations: 127.5 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2733, allocations: 67.84 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.2734, allocations: 15.94 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.2735, allocations: 35.91 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.2736, allocations: 39.83 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.2736, allocations: 8 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2738, allocations: 99.84 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2739, allocations: 19.91 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.2739, allocations: 31.86 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2741, allocations: 139.5 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2742, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2742, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2742, allocations: 3.938 kB / 1.223 GB, free: 11.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006058/0.2748, allocations: 418.8 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2748, allocations: 12.03 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.2749, allocations: 38.73 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.2749, allocations: 8.891 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.275, allocations: 172.3 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2751, allocations: 4.375 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2751, allocations: 12.31 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2753, allocations: 73.75 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2753, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2753, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.2753, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2755, allocations: 43.91 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.2761, allocations: 312.7 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.2762, allocations: 50.56 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.2763, allocations: 36.97 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2763, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.2765, allocations: 75.31 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2765, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/0.2769, allocations: 141.9 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.277, allocations: 63.33 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2771, allocations: 121.8 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2771, allocations: 29.7 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.2772, allocations: 92.12 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2772, allocations: 11.91 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.2773, allocations: 29.7 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2774, allocations: 322.8 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.2775, allocations: 31.91 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.2776, allocations: 54.94 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.2778, allocations: 70.61 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2778, allocations: 0 / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002571/0.2781, allocations: 117.6 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2781, allocations: 13.5 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2781, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2781, allocations: 0 / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.2782, allocations: 19.92 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2782, allocations: 4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.2783, allocations: 7.938 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2783, allocations: 0 / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.515e-05/0.2784, allocations: 126.3 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.2785, allocations: 11.94 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.2785, allocations: 12.36 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2785, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2785, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2785, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.279, allocations: 382.4 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.279, allocations: 4 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.2791, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2791, allocations: 8 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2791, allocations: 3.984 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2791, allocations: 3.938 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2791, allocations: 4 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.2794, allocations: 207.4 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.2795, allocations: 81.06 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2795, allocations: 7.984 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.2796, allocations: 11.94 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2796, allocations: 7.984 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2796, allocations: 0 / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.2797, allocations: 95.27 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2797, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002905/0.28, allocations: 39.88 kB / 1.226 GB, free: 7.762 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0008178/0.2808, allocations: 0.8132 MB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2811, allocations: 67.89 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.2811, allocations: 4.125 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.2812, allocations: 35.97 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2815, allocations: 11.94 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2831, allocations: 1.509 MB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2834, allocations: 0.6846 MB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.2835, allocations: 3.984 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.2835, allocations: 19.44 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2835, allocations: 0 / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.3063, allocations: 2.644 MB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.883, allocations: 13.2 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset