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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001955, 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.002062/0.002062, allocations: 195.7 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 62.05 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2535, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002862/0.2564, allocations: 1.476 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2577, allocations: 0.7302 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.2578, allocations: 7.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.2578, allocations: 7.938 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.075e-05/0.2579, allocations: 11.86 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.2584, allocations: 115.6 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2585, allocations: 75.83 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.2586, allocations: 15.98 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.2587, allocations: 35.84 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.2588, allocations: 47.77 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2588, allocations: 8 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2591, allocations: 95.91 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.2591, allocations: 15.92 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.2591, allocations: 31.86 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2594, allocations: 143.8 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2594, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2594, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2594, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 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.0006542/0.2601, allocations: 421 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2601, allocations: 8.031 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.2602, allocations: 34.75 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.2602, allocations: 8.844 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2604, allocations: 180.2 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.2604, allocations: 4.375 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2604, allocations: 4.375 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2606, allocations: 77.53 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2606, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2606, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.2608, allocations: 39.91 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.2614, allocations: 312.8 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2616, allocations: 54.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/0.2617, allocations: 40.95 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2617, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.2619, allocations: 79.44 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2619, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.2623, allocations: 137.5 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2624, allocations: 59.34 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2625, allocations: 121.8 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2625, allocations: 33.7 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.2626, allocations: 88.05 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2626, allocations: 19.75 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2627, allocations: 29.7 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2628, allocations: 326.8 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.2629, allocations: 23.98 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.263, allocations: 46.56 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2632, allocations: 74.48 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2632, allocations: 4 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002584/0.2635, allocations: 113.6 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2635, allocations: 4 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2635, allocations: 0 / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2635, allocations: 3.938 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.2636, allocations: 15.98 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2637, allocations: 0 / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.2637, allocations: 11.84 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2638, allocations: 19.98 kB / 1.069 GB, free: 8.793 MB / 0.8262 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.769e-05/0.2639, allocations: 118.4 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.2639, allocations: 7.906 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.2639, allocations: 8.375 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2639, allocations: 3.984 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.264, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.264, allocations: 4 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.2645, allocations: 382.8 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2645, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.2645, allocations: 7.984 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2645, allocations: 3.938 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2646, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2646, allocations: 3.938 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2646, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.2649, allocations: 219.5 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.2649, allocations: 81.02 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.265, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.2651, allocations: 3.938 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.2651, allocations: 11.98 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.2651, allocations: 4 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.2652, allocations: 95.27 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2652, allocations: 0 / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003025/0.2655, allocations: 43.98 kB / 1.07 GB, free: 7.711 MB / 0.8262 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.0008473/0.2664, allocations: 0.7975 MB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2666, allocations: 79.81 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2666, allocations: 4 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2668, allocations: 31.98 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.267, allocations: 11.92 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2688, allocations: 1.486 MB / 1.072 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2691, allocations: 0.6961 MB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2691, allocations: 4 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.2692, allocations: 23.42 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2692, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.293, allocations: 2.612 MB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.96, allocations: 10.95 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB (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) 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) "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_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! " 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