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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.293/2.293, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.5239, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002145/0.5261, allocations: 1.457 MB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.527, allocations: 0.7372 MB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.5271, allocations: 1.406 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.5271, allocations: 3.938 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.5272, allocations: 17.38 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.5276, allocations: 130.1 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.446e-05/0.5277, allocations: 71.19 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.5278, allocations: 14.05 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.5279, allocations: 41.3 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.528, allocations: 35.47 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.528, allocations: 6.594 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.5282, allocations: 93.94 kB / 0.9523 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.5282, allocations: 19.48 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.5283, allocations: 39.47 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.5284, allocations: 132.2 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5285, allocations: 0 / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5285, allocations: 1.469 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.5285, allocations: 3.938 kB / 0.9524 GB, free: 7.016 MB / 0.7169 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.0004733/0.529, allocations: 427.8 kB / 0.9529 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.529, allocations: 10.34 kB / 0.9529 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.529, allocations: 30.75 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.5291, allocations: 13.36 kB / 0.9529 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.329e-05/0.5291, allocations: 176.1 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.5292, allocations: 7.344 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.5292, allocations: 3.75 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5293, allocations: 71.06 kB / 0.9531 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.5294, allocations: 1.406 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5294, allocations: 4 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5294, allocations: 1.281 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.5295, allocations: 36.78 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.53, allocations: 322 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.5301, allocations: 56.08 kB / 0.9536 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.5302, allocations: 35.34 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5303, allocations: 5.375 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.5304, allocations: 72.97 kB / 0.9537 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.5304, allocations: 0 / 0.9537 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003549/0.5308, allocations: 141.3 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.5308, allocations: 52.5 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.5309, allocations: 125.4 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5309, allocations: 31.33 kB / 0.954 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.5309, allocations: 93.67 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.531, allocations: 14.78 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.531, allocations: 26.17 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.531, allocations: 325.3 kB / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.5311, allocations: 26.36 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.5312, allocations: 52.05 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.5314, allocations: 70.12 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5314, allocations: 0 / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.5316, allocations: 113.6 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5316, allocations: 10.91 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5316, allocations: 1.188 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5317, allocations: 1.188 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.5318, allocations: 12.23 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5318, allocations: 1.234 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.5318, allocations: 7.594 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5319, allocations: 11.47 kB / 0.9547 GB, free: 4.824 MB / 0.7169 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 5.854e-05/0.5319, allocations: 126.8 kB / 0.9548 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.5319, allocations: 10.69 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.532, allocations: 5.531 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.532, allocations: 1.25 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.532, allocations: 1.188 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.532, allocations: 0 / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.5324, allocations: 382.5 kB / 0.9552 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5324, allocations: 1.062 kB / 0.9552 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.5324, allocations: 10.7 kB / 0.9552 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5324, allocations: 5.219 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5324, allocations: 1 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5325, allocations: 3.938 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5325, allocations: 9 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.5327, allocations: 205.8 kB / 0.9555 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.5327, allocations: 82.11 kB / 0.9555 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.5328, allocations: 1.062 kB / 0.9555 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.5329, allocations: 15.7 kB / 0.9555 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.5329, allocations: 5.641 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5329, allocations: 6.375 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.5329, allocations: 101.1 kB / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.533, allocations: 0 / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002905/0.5332, allocations: 44.95 kB / 0.9557 GB, free: 3.898 MB / 0.7169 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.0005493/0.5338, allocations: 0.7951 MB / 0.9565 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.534, allocations: 74.33 kB / 0.9565 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5341, allocations: 4.125 kB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.5341, allocations: 34.27 kB / 0.9566 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.5344, allocations: 12.14 kB / 0.9566 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.5356, allocations: 1.493 MB / 0.9581 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.94e-05/0.5357, allocations: 0.6888 MB / 0.9587 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.5357, allocations: 3.75 kB / 0.9587 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.5358, allocations: 29.61 kB / 0.9588 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5358, allocations: 1.125 kB / 0.9588 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.5533, allocations: 2.607 MB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.703, allocations: 10.42 kB / 0.9613 GB, free: 15.64 MB / 0.7325 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