Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.031 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7833, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002042/0.7853, allocations: 1.5 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.7863, allocations: 0.7471 MB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.7864, allocations: 1.062 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.7864, allocations: 5.156 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.7864, allocations: 14.66 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.7869, allocations: 120.8 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.787, allocations: 73.61 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.787, allocations: 9.984 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.7871, allocations: 43.38 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.7872, allocations: 42.72 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.7872, allocations: 5.938 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.7874, allocations: 96.48 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.7874, allocations: 23.86 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.7874, allocations: 36.77 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.7876, allocations: 142.6 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.7876, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7876, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.7876, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 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.0004621/0.7881, allocations: 422.5 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.7881, allocations: 9.406 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.7881, allocations: 38.03 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.7882, allocations: 11.84 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.148e-05/0.7882, allocations: 171.1 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.7882, allocations: 2.125 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.7883, allocations: 4.375 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.7884, allocations: 85.97 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7884, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7884, allocations: 4.938 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7884, allocations: 4.5 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.7885, allocations: 36.91 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.789, allocations: 315.9 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.7891, allocations: 49.27 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.7892, allocations: 32.02 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.7892, allocations: 0.7812 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.7893, allocations: 75.83 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7893, allocations: 1.031 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003401/0.7897, allocations: 141 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.7897, allocations: 58.53 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.7898, allocations: 126.7 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.7898, allocations: 27.08 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.7898, allocations: 92.72 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.7898, allocations: 12.2 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.7899, allocations: 28.34 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.7899, allocations: 323.6 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.79, allocations: 31.8 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.7901, allocations: 46.09 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.7902, allocations: 71.83 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7902, allocations: 0.75 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002048/0.7904, allocations: 116.5 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7904, allocations: 7.906 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7904, allocations: 5.516 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.7904, allocations: 1.656 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.7905, allocations: 15.14 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7905, allocations: 5.938 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.7906, allocations: 9.719 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.7906, allocations: 3.156 kB / 1.276 GB, free: 3.895 MB / 0.9981 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.345e-05/0.7906, allocations: 129.5 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.7907, allocations: 6.609 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.7907, allocations: 10.84 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.7907, allocations: 1.156 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.7907, allocations: 0.875 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7907, allocations: 0 / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.791, allocations: 379.4 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.791, allocations: 4 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.791, allocations: 11.17 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.791, allocations: 0.7812 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.7911, allocations: 1.219 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7911, allocations: 8.875 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7911, allocations: 80 / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.7913, allocations: 216.9 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.7913, allocations: 82.86 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.7913, allocations: 1.062 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.7914, allocations: 10.36 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.7914, allocations: 5.531 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7914, allocations: 2.094 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.7915, allocations: 90.33 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7915, allocations: 0.7188 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002777/0.7917, allocations: 42.53 kB / 1.277 GB, free: 3.039 MB / 0.9981 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.0005764/0.7923, allocations: 0.8065 MB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.7925, allocations: 71.05 kB / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7925, allocations: 0 / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.7926, allocations: 35.23 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.7929, allocations: 22.91 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.7941, allocations: 1.502 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7944, allocations: 0.6919 MB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.7944, allocations: 7.156 kB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.7945, allocations: 19.06 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7945, allocations: 4.812 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.8194, allocations: 2.651 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.874, allocations: 6.328 kB / 1.283 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! " [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.265515916995355]