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.001402/0.001402, 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.001332/0.001332, allocations: 195.2 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.502/2.502, allocations: 469.8 MB / 0.7424 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 66.06 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2404, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002519/0.243, allocations: 1.472 MB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2441, allocations: 0.734 MB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.2442, allocations: 4 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.2442, allocations: 7.875 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.522e-05/0.2442, allocations: 7.938 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.2447, allocations: 123.5 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2448, allocations: 79.83 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.2449, allocations: 7.984 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.245, allocations: 31.92 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.245, allocations: 47.75 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2451, allocations: 8 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2453, allocations: 99.91 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2453, allocations: 11.92 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2453, allocations: 31.86 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2456, allocations: 139.9 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2456, allocations: 3.938 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2456, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.2456, allocations: 0 / 1.067 GB, free: 11.44 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.0005757/0.2462, allocations: 421 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2462, allocations: 8.031 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.2463, allocations: 42.75 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2463, allocations: 8.844 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2464, allocations: 176.2 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2464, allocations: 384 / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.2465, allocations: 12.36 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2466, allocations: 69.78 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2467, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2467, allocations: 3.938 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.2467, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.2468, allocations: 43.91 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.2474, allocations: 316.8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.2475, allocations: 42.56 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.2476, allocations: 40.97 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2476, allocations: 8.062 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.2478, allocations: 83.3 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2478, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003579/0.2481, allocations: 137.5 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2482, allocations: 63.34 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.2483, allocations: 117.8 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2483, allocations: 25.7 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.2484, allocations: 100 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.2484, allocations: 15.73 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.2485, allocations: 29.7 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2486, allocations: 322.8 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.2487, allocations: 31.91 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.2488, allocations: 51 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.249, allocations: 70.55 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.249, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002306/0.2492, allocations: 109.6 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2492, allocations: 4 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2492, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2492, allocations: 7.938 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.2493, allocations: 15.92 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2493, allocations: 0 / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.2494, allocations: 11.91 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2494, allocations: 4 kB / 1.069 GB, free: 8.836 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.661e-05/0.2495, allocations: 123 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.2495, allocations: 11.89 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.2496, allocations: 8.375 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2496, allocations: 0 / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2496, allocations: 4 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2496, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.2501, allocations: 386.3 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2501, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.2501, allocations: 8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2501, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2501, allocations: 3.984 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2501, allocations: 3.938 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2501, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.2504, allocations: 207.4 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.2505, allocations: 85 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2505, allocations: 12 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.2506, allocations: 3.938 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2506, allocations: 7.984 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2506, allocations: 8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.155e-05/0.2507, allocations: 95.42 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2507, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002573/0.251, allocations: 36 kB / 1.07 GB, free: 7.754 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.0007671/0.2517, allocations: 0.8144 MB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.252, allocations: 75.95 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.252, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.2521, allocations: 35.98 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2523, allocations: 9.344 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.2539, allocations: 1.487 MB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2542, allocations: 0.6922 MB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.2542, allocations: 8 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.2543, allocations: 23.42 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2543, allocations: 0 / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.708/2.963, allocations: 2.62 MB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/16.73, allocations: 11.41 kB / 1.076 GB, free: 1.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed