Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_10_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.004853/0.004853, allocations: 99.34 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.001292/0.001292, allocations: 197.3 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.1 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.91 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2452, allocations: 151.6 MB / 1.166 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002405/0.2476, allocations: 1.474 MB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2489, allocations: 0.7284 MB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.2489, allocations: 4 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.249, allocations: 3.938 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.249, allocations: 11.88 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.2495, allocations: 127.6 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2497, allocations: 71.77 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.2498, allocations: 12 kB / 1.169 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.2499, allocations: 35.84 kB / 1.169 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.2499, allocations: 35.89 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.25, allocations: 15.94 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2502, allocations: 95.91 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.2502, allocations: 19.91 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.2502, allocations: 27.86 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2505, allocations: 143.8 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2505, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.657e-06/0.2505, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2505, allocations: 3.938 kB / 1.169 GB, free: 4.59 MB / 0.92 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.0005819/0.2511, allocations: 432.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2511, allocations: 8.031 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.2512, allocations: 34.75 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2512, allocations: 8.891 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2513, allocations: 176.3 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2514, allocations: 12.3 kB / 1.17 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2514, allocations: 4.375 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2516, allocations: 69.78 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2516, allocations: 0 / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2516, allocations: 4 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2516, allocations: 4 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.2518, allocations: 39.97 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.2523, allocations: 308.8 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2525, allocations: 50.5 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.2526, allocations: 40.97 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2526, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.2528, allocations: 75.38 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.2528, allocations: 3.938 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003977/0.2532, allocations: 149.6 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2533, allocations: 59.41 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.2534, allocations: 121.8 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2534, allocations: 29.7 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2534, allocations: 100 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.2535, allocations: 15.84 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.2535, allocations: 25.7 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2536, allocations: 326.8 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.2537, allocations: 27.98 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.2538, allocations: 46.56 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.254, allocations: 74.48 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.254, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002462/0.2542, allocations: 121.5 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2543, allocations: 4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2543, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2543, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.2544, allocations: 11.98 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2544, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.2545, allocations: 7.984 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2545, allocations: 4 kB / 1.171 GB, free: 1.98 MB / 0.92 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 9.074e-05/0.2546, allocations: 129.8 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2546, allocations: 11.95 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2546, allocations: 4.375 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2546, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2547, allocations: 4 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2547, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.2551, allocations: 382.4 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2551, allocations: 4 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.2552, allocations: 7.984 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2552, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2552, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2552, allocations: 7.875 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2552, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2555, allocations: 211.5 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.2555, allocations: 85 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2556, allocations: 8 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.2557, allocations: 7.938 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.2557, allocations: 7.984 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2557, allocations: 4 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.2558, allocations: 99.2 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2558, allocations: 0 / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002963/0.2561, allocations: 43.86 kB / 1.172 GB, free: 0.8828 MB / 0.92 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.0007305/0.2568, allocations: 0.7959 MB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2571, allocations: 83.98 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2571, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.2572, allocations: 31.94 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2575, allocations: 11.92 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.259, allocations: 1.492 MB / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2593, allocations: 0.6885 MB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.2593, allocations: 0 / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.2594, allocations: 19.44 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2594, allocations: 0 / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.2774, allocations: 2.668 MB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.748, allocations: 9.969 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.csv. Warning: Get data of variable win.on from file Buildings_10_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