Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.005749/0.005749, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001266/0.001266, allocations: 190 kB / 16.67 MB, free: 5.934 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.225/2.225, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8205, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00238/0.8229, allocations: 1.513 MB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.824, allocations: 0.7196 MB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.8241, allocations: 5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.8241, allocations: 9.109 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.8242, allocations: 10 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.8248, allocations: 130.3 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.8249, allocations: 73.78 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.825, allocations: 11.09 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.8251, allocations: 35.55 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.8252, allocations: 41.34 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.8252, allocations: 6.406 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.8254, allocations: 98.66 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.8255, allocations: 15.47 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.8255, allocations: 40.45 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.8258, allocations: 140.3 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8258, allocations: 0.7812 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8259, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8259, allocations: 0 / 1.09 GB, free: 3.465 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.000649/0.8265, allocations: 424.5 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.8266, allocations: 9.531 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.8266, allocations: 32.61 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.8267, allocations: 12.97 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.8268, allocations: 170.7 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.8268, allocations: 3.719 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.8268, allocations: 3.969 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.827, allocations: 71.62 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8271, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.8271, allocations: 9.812 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8271, allocations: 1.188 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.8272, allocations: 40.42 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.8279, allocations: 319.9 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.828, allocations: 54.08 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.8281, allocations: 32.11 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.8281, allocations: 5.172 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.8284, allocations: 81.45 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.8284, allocations: 0 / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004349/0.8288, allocations: 137.6 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.8289, allocations: 62.39 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.829, allocations: 122.6 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.829, allocations: 27.8 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.829, allocations: 87.28 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.8291, allocations: 16.92 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.8291, allocations: 29.42 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.8292, allocations: 323 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.8293, allocations: 31.2 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.8294, allocations: 51.8 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.8295, allocations: 77.27 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8295, allocations: 4.719 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002551/0.8298, allocations: 114.4 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8298, allocations: 6.703 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8298, allocations: 0.8438 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8299, allocations: 1.531 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.83, allocations: 11.81 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.83, allocations: 6.094 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.8301, allocations: 16.81 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.8301, allocations: 8.703 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 7.402e-05/0.8302, allocations: 122 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.8302, allocations: 7.375 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.8302, allocations: 11.12 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8302, allocations: 1.75 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8302, allocations: 0 / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8302, allocations: 1.516 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.8307, allocations: 386.4 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8307, allocations: 0 / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.8308, allocations: 13.94 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8308, allocations: 1.125 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.8308, allocations: 0.7969 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8308, allocations: 5.766 kB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8308, allocations: 0 / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.8311, allocations: 212.9 kB / 1.093 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.8311, allocations: 82.94 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.8311, allocations: 2.297 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.8312, allocations: 12 kB / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.8313, allocations: 8.625 kB / 1.093 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.8313, allocations: 3.484 kB / 1.093 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.8314, allocations: 91.42 kB / 1.093 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8314, allocations: 0.8125 kB / 1.093 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003262/0.8317, allocations: 41.61 kB / 1.093 GB, free: 0.5586 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,occ.y,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.0009752/0.8327, allocations: 0.8052 MB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.833, allocations: 79.98 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.833, allocations: 0.6875 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.8331, allocations: 36.83 kB / 1.094 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8334, allocations: 13.52 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.8356, allocations: 1.498 MB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.836, allocations: 0.6868 MB / 1.097 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.836, allocations: 16.8 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.8361, allocations: 20.72 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8361, allocations: 0 / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.8563, allocations: 2.642 MB / 1.099 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/8.094, allocations: 6.359 kB / 1.099 GB, free: 13.26 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_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_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[553]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset