Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.005691/0.005691, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001922/0.001922, allocations: 196 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.677/2.677, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.291, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002717/0.2938, allocations: 1.492 MB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.295, allocations: 0.7362 MB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.2951, allocations: 4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2951, allocations: 3.938 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.2952, allocations: 11.86 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.2958, allocations: 123.6 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.2959, allocations: 71.78 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.296, allocations: 23.91 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.2961, allocations: 31.92 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.2962, allocations: 39.83 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2962, allocations: 8 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.2964, allocations: 91.84 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.2965, allocations: 19.97 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.2965, allocations: 35.8 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2968, allocations: 147.8 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2968, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2968, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2968, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 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.0005841/0.2974, allocations: 420.7 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2974, allocations: 8.031 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.2975, allocations: 38.73 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.2975, allocations: 8.891 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2976, allocations: 184.2 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2977, allocations: 4.375 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2977, allocations: 4.375 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.2979, allocations: 73.77 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2979, allocations: 0 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2979, allocations: 4 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2979, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.2981, allocations: 35.97 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.2986, allocations: 320.7 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.2988, allocations: 50.5 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.2989, allocations: 32.97 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2989, allocations: 4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.2991, allocations: 83.44 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2991, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003912/0.2995, allocations: 137.5 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.2995, allocations: 51.41 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.2996, allocations: 125.8 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2997, allocations: 29.64 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.2997, allocations: 96.09 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.2997, allocations: 23.83 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.2998, allocations: 29.7 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.2999, allocations: 318.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.3, allocations: 23.98 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/0.3001, allocations: 50.55 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3002, allocations: 78.47 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3003, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002336/0.3005, allocations: 109.6 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3005, allocations: 8 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3005, allocations: 3.984 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3006, allocations: 4.062 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.3007, allocations: 8 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3007, allocations: 4.391 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.3007, allocations: 15.92 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3008, allocations: 0 / 1.171 GB, free: 1.906 MB / 0.92 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 8.677e-05/0.3009, allocations: 125.7 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.3009, allocations: 3.953 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.3009, allocations: 16.36 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3009, allocations: 4 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3009, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3009, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.3014, allocations: 386.3 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3014, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.3014, allocations: 4 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3014, allocations: 0 / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3015, allocations: 4 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3015, allocations: 11.92 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3015, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3018, allocations: 203.5 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.3018, allocations: 85 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3018, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.3019, allocations: 11.92 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.302, allocations: 11.94 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.302, allocations: 7.984 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.302, allocations: 99.86 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.302, allocations: 0 / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003038/0.3024, allocations: 35.94 kB / 1.172 GB, free: 0.8164 MB / 0.92 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.000715/0.3031, allocations: 0.8069 MB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3033, allocations: 71.89 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3033, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.3035, allocations: 39.91 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3037, allocations: 16.06 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3052, allocations: 1.473 MB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.3054, allocations: 0.6962 MB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.3054, allocations: 4 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.3055, allocations: 23.42 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.3055, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.3223, allocations: 2.642 MB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.579, allocations: 12.38 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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