Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: 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_11_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_11_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.001223/0.001223, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001199/0.001199, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 60.88 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002803/0.3201, allocations: 1.541 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3214, allocations: 0.7285 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.3214, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.3215, allocations: 7.922 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.3216, allocations: 3.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.3221, allocations: 111.8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3222, allocations: 67.84 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.3223, allocations: 19.97 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.3224, allocations: 35.86 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.3225, allocations: 39.81 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3225, allocations: 8 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3227, allocations: 95.91 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.3228, allocations: 15.92 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.3228, allocations: 39.8 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.323, allocations: 96.05 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.323, allocations: 3.938 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.482e-06/0.323, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.323, allocations: 4 kB / 1.067 GB, free: 12.3 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.0006469/0.3237, allocations: 416.9 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3237, allocations: 12.62 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3238, allocations: 8.844 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3239, allocations: 172.2 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3239, allocations: 4.375 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.324, allocations: 4.375 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3241, allocations: 77.97 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3242, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3242, allocations: 3.984 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3242, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.3243, allocations: 35.92 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.3249, allocations: 320.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3251, allocations: 50.55 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.3252, allocations: 32.97 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3252, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.3254, allocations: 79.31 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3254, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003931/0.3258, allocations: 141.6 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3259, allocations: 55.41 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.326, allocations: 125.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.326, allocations: 29.7 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3261, allocations: 88.05 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3261, allocations: 23.73 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.3262, allocations: 29.7 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3263, allocations: 322.8 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.3264, allocations: 23.98 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.3265, allocations: 58.42 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3267, allocations: 74.55 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3267, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000244/0.3269, allocations: 109.9 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.327, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.327, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.327, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.3271, allocations: 11.94 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3271, allocations: 8.047 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.3272, allocations: 11.97 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3272, allocations: 8 kB / 1.069 GB, free: 9.75 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 9.998e-05/0.3273, allocations: 122.4 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.3273, allocations: 7.906 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.3274, allocations: 12.36 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3274, allocations: 0 / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3274, allocations: 4 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3274, allocations: 0 / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.3279, allocations: 386.3 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3279, allocations: 0 / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.3279, allocations: 4 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.328, allocations: 0 / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.328, allocations: 7.984 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.328, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.328, allocations: 3.938 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3283, allocations: 219.3 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3284, allocations: 81.02 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3284, allocations: 7.984 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.3285, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3285, allocations: 11.94 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3285, allocations: 7.984 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.3286, allocations: 95.2 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3286, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002965/0.3289, allocations: 40 kB / 1.07 GB, free: 8.66 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.0003409/0.3293, allocations: 158.6 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3295, allocations: 79.89 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3295, allocations: 4.125 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/0.3296, allocations: 35.92 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3299, allocations: 15.92 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.3303, allocations: 214.2 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3306, allocations: 0.6924 MB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.3307, allocations: 15.44 kB / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3307, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of Templates: time 0.003516/0.3342, allocations: 1.612 MB / 1.073 GB, free: 5.793 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches