Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.00482/0.00482, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.00126/0.00126, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.182/2.182, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7266, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002249/0.7289, allocations: 1.482 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.7299, allocations: 0.7295 MB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.73, allocations: 4 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.73, allocations: 6.578 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.7301, allocations: 9.594 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.7306, allocations: 125.2 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.7307, allocations: 81.62 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.7308, allocations: 10.77 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.7309, allocations: 35.83 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.7309, allocations: 37.44 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.731, allocations: 6.281 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.7312, allocations: 98.75 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.7312, allocations: 18.61 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.7312, allocations: 32.27 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.7315, allocations: 139.9 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7315, allocations: 1.578 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7315, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.7315, allocations: 0.7812 kB / 1.09 GB, free: 3.508 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.0005226/0.732, allocations: 426 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7321, allocations: 10.25 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.7321, allocations: 32.91 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.7322, allocations: 12.94 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.7322, allocations: 177.3 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.7322, allocations: 3.625 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.7323, allocations: 4.438 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.7325, allocations: 72.42 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7325, allocations: 4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.7325, allocations: 1.688 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7325, allocations: 1.125 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.7326, allocations: 35.59 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.7332, allocations: 325.9 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.7333, allocations: 53.91 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.7334, allocations: 32.78 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.7334, allocations: 1.438 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.7336, allocations: 76.81 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.7336, allocations: 3.938 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000379/0.734, allocations: 141.1 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.734, allocations: 54.39 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.7341, allocations: 122.9 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.7341, allocations: 27.75 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.7342, allocations: 91.44 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.7342, allocations: 20.23 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.7342, allocations: 29.47 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.7343, allocations: 328 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.7344, allocations: 26.44 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.7345, allocations: 47.09 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.7346, allocations: 71.84 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7346, allocations: 4.594 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002323/0.7349, allocations: 107.8 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7349, allocations: 6.656 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7349, allocations: 0.75 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7349, allocations: 1.562 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.735, allocations: 15 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.735, allocations: 1.891 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.7351, allocations: 13.02 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.7351, allocations: 12.14 kB / 1.092 GB, free: 1.465 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.151e-05/0.7352, allocations: 119.3 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.7352, allocations: 11.06 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.7353, allocations: 11.38 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.7353, allocations: 0.9062 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.7353, allocations: 1.031 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.7353, allocations: 0.5156 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.7357, allocations: 383.2 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7357, allocations: 0 / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.7357, allocations: 5.656 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7357, allocations: 0.9375 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7358, allocations: 1.969 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.7358, allocations: 4.594 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7358, allocations: 0 / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.736, allocations: 220 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.7361, allocations: 83.75 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.7361, allocations: 1.875 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.7362, allocations: 12.48 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.7362, allocations: 8.891 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.7362, allocations: 2.75 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.7363, allocations: 93.61 kB / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7363, allocations: 0 / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002981/0.7366, allocations: 41.09 kB / 1.093 GB, free: 0.6133 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.0006795/0.7373, allocations: 0.8104 MB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.7375, allocations: 72.12 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7375, allocations: 0.7812 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.7376, allocations: 36.52 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.7379, allocations: 12.69 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.7394, allocations: 1.494 MB / 1.096 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.7397, allocations: 0.6906 MB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.7397, allocations: 8.516 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.7398, allocations: 25.69 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.7398, allocations: 0 / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.7588, allocations: 2.638 MB / 1.099 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/8.259, allocations: 11.78 kB / 1.099 GB, free: 13.36 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_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_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_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