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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007918/0.0007917, allocations: 92.08 kB / 16.02 MB, free: 76 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.0009857/0.0009858, allocations: 183.5 kB / 16.92 MB, free: 6.926 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 11.94 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3163, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001839/0.3182, allocations: 1.202 MB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3197, allocations: 0.7284 MB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.3198, allocations: 0 / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.3198, allocations: 3.938 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.3199, allocations: 15.86 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.3205, allocations: 99.77 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3206, allocations: 75.83 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.3207, allocations: 8 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.3208, allocations: 27.86 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.3209, allocations: 39.81 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3209, allocations: 4 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.3211, allocations: 87.91 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.3212, allocations: 15.92 kB / 1.062 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.3212, allocations: 61.55 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3214, allocations: 96.05 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3214, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.586e-06/0.3214, allocations: 0 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3214, allocations: 3.938 kB / 1.062 GB, free: 2.473 MB / 0.8106 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.0005885/0.322, allocations: 401.1 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3221, allocations: 15.97 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.3221, allocations: 4.844 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3223, allocations: 188.2 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3223, allocations: 4.375 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3223, allocations: 4.375 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3225, allocations: 73.97 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3225, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3226, allocations: 3.984 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3226, allocations: 4 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3227, allocations: 43.92 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.3233, allocations: 324.7 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3235, allocations: 50.56 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/0.3236, allocations: 32.97 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3236, allocations: 0 / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.3238, allocations: 91.31 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.3238, allocations: 0 / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004369/0.3243, allocations: 137.7 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3243, allocations: 55.41 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3244, allocations: 129.7 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3245, allocations: 33.7 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.3245, allocations: 88.14 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3245, allocations: 23.67 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.3246, allocations: 17.72 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3247, allocations: 326.8 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.3248, allocations: 23.98 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.3249, allocations: 58.48 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3251, allocations: 78.81 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3251, allocations: 0 / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002664/0.3254, allocations: 133.6 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3254, allocations: 4 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3254, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3254, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.3255, allocations: 15.92 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3255, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.3256, allocations: 12.06 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3256, allocations: 11.98 kB / 1.064 GB, free: 15.87 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.149e-05/0.3257, allocations: 117.8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.3258, allocations: 7.906 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.3258, allocations: 8.375 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3258, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3258, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3258, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.3263, allocations: 390.3 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3263, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.3263, allocations: 7.984 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3263, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3264, allocations: 8 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3264, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3264, allocations: 7.938 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.3267, allocations: 215.3 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.3267, allocations: 81.02 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3268, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.3269, allocations: 15.98 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.3269, allocations: 3.938 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.3269, allocations: 4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.327, allocations: 91.27 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.327, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003064/0.3273, allocations: 39.98 kB / 1.065 GB, free: 14.79 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.0003733/0.3277, allocations: 166.4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3279, allocations: 75.91 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3279, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.328, allocations: 39.97 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3283, allocations: 12.12 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.3288, allocations: 237.3 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.329, allocations: 0.6887 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3291, allocations: 15.44 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3291, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.003451/0.3325, allocations: 1.61 MB / 1.068 GB, free: 11.91 MB / 0.8262 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