Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.001326/0.001326, allocations: 194.6 kB / 16.9 MB, free: 5.746 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.524/2.524, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 68.22 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3334, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002634/0.3361, allocations: 1.533 MB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3373, allocations: 0.7207 MB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.3373, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.3374, allocations: 11.86 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.3375, allocations: 11.92 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.338, allocations: 107.8 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3382, allocations: 71.83 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.3383, allocations: 19.92 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.3384, allocations: 27.92 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.3384, allocations: 43.81 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3384, allocations: 8 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.3386, allocations: 91.91 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.3387, allocations: 23.92 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.3387, allocations: 39.78 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3389, allocations: 96.06 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3389, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3389, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3389, allocations: 0 / 1.066 GB, free: 12.59 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.000566/0.3395, allocations: 413 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3396, allocations: 11.97 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.3396, allocations: 12.84 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.3397, allocations: 180.2 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3397, allocations: 4.375 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3398, allocations: 4.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.34, allocations: 69.97 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.34, allocations: 4 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.34, allocations: 3.984 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.34, allocations: 4 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3401, allocations: 39.92 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.3407, allocations: 312.8 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3408, allocations: 46.56 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.3409, allocations: 28.97 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.341, allocations: 8 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.3412, allocations: 79.3 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3412, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003949/0.3416, allocations: 141.6 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3416, allocations: 51.41 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.3417, allocations: 125.8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3418, allocations: 29.7 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.3418, allocations: 92.05 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3418, allocations: 23.73 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.3419, allocations: 29.7 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.342, allocations: 314.8 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.3421, allocations: 31.92 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.3422, allocations: 54.48 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3423, allocations: 74.48 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3423, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002335/0.3426, allocations: 113.6 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3426, allocations: 14.66 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3426, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3426, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.3427, allocations: 11.94 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3427, allocations: 3.984 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.3428, allocations: 7.906 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3428, allocations: 8 kB / 1.069 GB, free: 10.04 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 8.591e-05/0.3429, allocations: 120 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.343, allocations: 11.91 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.343, allocations: 12.36 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.343, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.343, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.343, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.3434, allocations: 390.3 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3434, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.3435, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3435, allocations: 4 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3435, allocations: 7.984 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3435, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3435, allocations: 3.938 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3438, allocations: 207.4 kB / 1.069 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3439, allocations: 85.02 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3439, allocations: 7.984 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.344, allocations: 8 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.344, allocations: 11.94 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.344, allocations: 3.984 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.3441, allocations: 99.8 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3441, allocations: 0 / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002993/0.3444, allocations: 40 kB / 1.07 GB, free: 8.945 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.0003012/0.3447, allocations: 156.7 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.345, allocations: 75.89 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.345, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.3451, allocations: 35.92 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3453, allocations: 11.98 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.3458, allocations: 218.8 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.346, allocations: 0.6885 MB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.346, allocations: 15.44 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.346, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of Templates: time 0.003404/0.3495, allocations: 1.62 MB / 1.072 GB, free: 6.074 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches