Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001157/0.001157, allocations: 103.2 kB / 16.27 MB, free: 6.051 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.001249/0.001249, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.397/1.397, 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 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002525, allocations: 63.7 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2962, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002717/0.2989, allocations: 1.478 MB / 0.9517 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3002, allocations: 0.7284 MB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.3003, allocations: 3.938 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.3003, allocations: 3.938 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.3004, allocations: 11.86 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3009, allocations: 119.6 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.301, allocations: 91.75 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.3011, allocations: 7.984 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.3012, allocations: 39.84 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.3013, allocations: 43.83 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3013, allocations: 4 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3015, allocations: 91.91 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.3015, allocations: 11.98 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.3016, allocations: 35.8 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3018, allocations: 151.8 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3018, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3018, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3018, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 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.0006265/0.3025, allocations: 420.9 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3025, allocations: 8.031 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.3026, allocations: 8.844 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3027, allocations: 168.3 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3028, allocations: 8.375 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3028, allocations: 8.375 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.303, allocations: 69.95 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.303, allocations: 4 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.303, allocations: 4 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.303, allocations: 0 / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3032, allocations: 39.91 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.3038, allocations: 320.7 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3039, allocations: 46.56 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.304, allocations: 36.97 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.304, allocations: 0 / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.3043, allocations: 79.31 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3043, allocations: 0 / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003934/0.3047, allocations: 137.5 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3047, allocations: 59.39 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.3048, allocations: 117.8 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3049, allocations: 33.7 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.3049, allocations: 92.12 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3049, allocations: 23.81 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.305, allocations: 25.7 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3051, allocations: 322.8 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.3052, allocations: 31.91 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.3053, allocations: 46.56 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3055, allocations: 74.84 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3055, allocations: 4 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.3057, allocations: 113.4 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3058, allocations: 8 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3058, allocations: 0 / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3058, allocations: 64 / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3059, allocations: 19.92 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3059, allocations: 4 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.306, allocations: 7.906 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.306, allocations: 7.984 kB / 0.9553 GB, free: 3.496 MB / 0.7325 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.0001029/0.3061, allocations: 123.8 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3061, allocations: 7.984 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.3062, allocations: 4.375 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3062, allocations: 4 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3062, allocations: 0 / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3062, allocations: 0 / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.3067, allocations: 394.2 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3067, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3067, allocations: 0 / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3067, allocations: 11.94 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3068, allocations: 3.984 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3068, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3068, allocations: 7.938 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3071, allocations: 207.5 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3071, allocations: 85 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3071, allocations: 0 / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.3072, allocations: 4 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3073, allocations: 11.92 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3073, allocations: 8 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.3073, allocations: 95.27 kB / 0.9562 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3074, allocations: 0 / 0.9562 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003141/0.3077, allocations: 36 kB / 0.9562 GB, free: 2.414 MB / 0.7325 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.0003309/0.308, allocations: 153.1 kB / 0.9564 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.3083, allocations: 79.88 kB / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3083, allocations: 4 kB / 0.9564 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.3084, allocations: 36.31 kB / 0.9565 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.3087, allocations: 10.52 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.3091, allocations: 209 kB / 0.9567 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3094, allocations: 0.6922 MB / 0.9574 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3094, allocations: 15.44 kB / 0.9574 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.3094, allocations: 0 / 0.9574 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of Templates: time 0.003648/0.3131, allocations: 1.626 MB / 0.959 GB, free: 15.55 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches