Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_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.003985/0.003986, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001022/0.001021, allocations: 188.3 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.738, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002292/0.7403, allocations: 1.499 MB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.7414, allocations: 0.7288 MB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.7415, allocations: 3.938 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.7415, allocations: 4.5 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.7416, allocations: 15.7 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.7421, allocations: 120.8 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.7422, allocations: 72.67 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.7423, allocations: 15.58 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.7424, allocations: 35.55 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.7425, allocations: 33.05 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.7425, allocations: 6.688 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.7427, allocations: 98.09 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.7427, allocations: 23.47 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.7428, allocations: 30.95 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.743, allocations: 145 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.743, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7431, allocations: 4.594 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7431, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 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.0005477/0.7436, allocations: 418.6 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7437, allocations: 9.531 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.7437, allocations: 38.11 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.7438, allocations: 12.58 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.7438, allocations: 169.6 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.7439, allocations: 3.844 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.7439, allocations: 8.156 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.7441, allocations: 75.94 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7441, allocations: 0 / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7441, allocations: 4.719 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7441, allocations: 1.703 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.7443, allocations: 36 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.7448, allocations: 322.5 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.745, allocations: 45.33 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.7451, allocations: 32.5 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.7451, allocations: 5.797 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.7453, allocations: 80.52 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.7453, allocations: 1.188 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003873/0.7457, allocations: 136.7 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.7457, allocations: 59.05 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.7458, allocations: 122.8 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.7458, allocations: 27.3 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.7458, allocations: 91.14 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.7459, allocations: 19.89 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.7459, allocations: 33.81 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.746, allocations: 327 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.7461, allocations: 23.52 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.392e-05/0.7462, allocations: 46.48 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.7463, allocations: 71.94 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7463, allocations: 0.7812 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.7466, allocations: 112.3 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7466, allocations: 5.812 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7466, allocations: 0.9062 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7466, allocations: 1.797 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.7467, allocations: 11.36 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7468, allocations: 5.5 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.7468, allocations: 17.02 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.7468, allocations: 4 kB / 1.092 GB, free: 1.418 MB / 0.8575 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 6.556e-05/0.7469, allocations: 119.6 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.7469, allocations: 7.109 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.747, allocations: 11 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.747, allocations: 5.609 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.747, allocations: 4.812 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.747, allocations: 4.562 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.7474, allocations: 378.3 kB / 1.093 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7474, allocations: 4.688 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.7475, allocations: 4.859 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7475, allocations: 0.875 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7475, allocations: 6.094 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7475, allocations: 5.484 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7475, allocations: 4.688 kB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.7478, allocations: 215.9 kB / 1.093 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.7478, allocations: 83.53 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.7478, allocations: 1.156 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.7479, allocations: 13.02 kB / 1.093 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.748, allocations: 5.188 kB / 1.093 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.748, allocations: 2.328 kB / 1.093 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.748, allocations: 96.44 kB / 1.093 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.748, allocations: 0 / 1.093 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003118/0.7483, allocations: 41.92 kB / 1.093 GB, free: 0.5547 MB / 0.8575 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.0007514/0.7491, allocations: 0.7977 MB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.7494, allocations: 76.39 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7494, allocations: 0.75 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.7495, allocations: 32.28 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.7497, allocations: 15 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.7514, allocations: 1.499 MB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.7516, allocations: 0.687 MB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.7516, allocations: 12.59 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.7517, allocations: 20.73 kB / 1.097 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7517, allocations: 0 / 1.097 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.7724, allocations: 2.637 MB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/8.29, allocations: 5.297 kB / 1.099 GB, free: 13.3 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.on from file Buildings_9_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