Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 101.6 kB / 16.27 MB, free: 5.961 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.00137/0.00137, allocations: 190 kB / 17.2 MB, free: 5.59 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.78 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2789, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.0031/0.2821, allocations: 1.476 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2835, allocations: 0.7283 MB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.2835, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.2836, allocations: 15.88 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.2837, allocations: 7.922 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.2842, allocations: 127.5 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2844, allocations: 71.83 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.2845, allocations: 12 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.2846, allocations: 31.91 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.2847, allocations: 43.83 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2847, allocations: 8 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.2849, allocations: 99.84 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.2849, allocations: 15.92 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.285, allocations: 31.86 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.2852, allocations: 147.9 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2852, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.438e-06/0.2852, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2852, allocations: 3.938 kB / 1.067 GB, free: 12.19 MB / 0.8419 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.0006306/0.2859, allocations: 417 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2859, allocations: 8.031 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.286, allocations: 8.844 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2861, allocations: 172.2 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2861, allocations: 8.359 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.2862, allocations: 8.375 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2864, allocations: 65.97 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2864, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2864, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.2864, allocations: 11.98 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2865, allocations: 43.84 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.2871, allocations: 312.8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2873, allocations: 54.56 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.2874, allocations: 32.97 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2874, allocations: 7.938 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.2876, allocations: 75.31 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2876, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004157/0.2881, allocations: 141.5 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2881, allocations: 55.41 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2882, allocations: 117.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2883, allocations: 25.7 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.2883, allocations: 100 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2883, allocations: 19.81 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.2884, allocations: 29.7 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2885, allocations: 322.8 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.2886, allocations: 31.98 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.2887, allocations: 46.5 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2889, allocations: 78.84 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2889, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002306/0.2892, allocations: 109.6 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2892, allocations: 10.34 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2892, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2892, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.2893, allocations: 19.92 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2893, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.2894, allocations: 11.84 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2894, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8419 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 0.0001118/0.2895, allocations: 129.8 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.2896, allocations: 3.906 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.2896, allocations: 12.38 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2896, allocations: 0 / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2896, allocations: 0 / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2896, allocations: 0 / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.2901, allocations: 386.3 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2901, allocations: 4 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.2902, allocations: 7.984 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2902, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2902, allocations: 4 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2902, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.2902, allocations: 3.938 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.2905, allocations: 203.4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.2906, allocations: 97 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2906, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.2907, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.2908, allocations: 11.92 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.2908, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.2908, allocations: 95.2 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2909, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003215/0.2912, allocations: 40 kB / 1.07 GB, free: 8.562 MB / 0.8419 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.0003632/0.2915, allocations: 172.6 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2918, allocations: 76.06 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2918, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.2919, allocations: 40.06 kB / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2922, allocations: 16.27 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.2927, allocations: 206.7 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.293, allocations: 0.6846 MB / 1.071 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.293, allocations: 11.44 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.293, allocations: 4 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of Templates: time 0.003566/0.2966, allocations: 1.619 MB / 1.073 GB, free: 5.691 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches