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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009015/0.0009016, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.00111/0.00111, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.591/2.591, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004424, allocations: 15.98 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7789, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001572/0.7805, allocations: 1.18 MB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.7815, allocations: 0.6788 MB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.7816, allocations: 4 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.7816, allocations: 5.344 kB / 0.9563 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.7817, allocations: 9.422 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.7822, allocations: 99.95 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7823, allocations: 70.39 kB / 0.9564 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.7824, allocations: 9.453 kB / 0.9564 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.7825, allocations: 29.31 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.7825, allocations: 46.8 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7826, allocations: 3.906 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.7827, allocations: 85.03 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.7828, allocations: 10.08 kB / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.7828, allocations: 39.45 kB / 0.9566 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.783, allocations: 99.56 kB / 0.9567 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.783, allocations: 0 / 0.9567 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.783, allocations: 0 / 0.9567 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.783, allocations: 1.375 kB / 0.9567 GB, free: 5.914 MB / 0.7169 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.0005373/0.7836, allocations: 413.2 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7836, allocations: 9.312 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.7837, allocations: 11.67 kB / 0.9571 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.7837, allocations: 166.1 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.7838, allocations: 3.062 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.7838, allocations: 7.031 kB / 0.9573 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.784, allocations: 74.55 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.784, allocations: 1.219 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.784, allocations: 0 / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.784, allocations: 1.156 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.7842, allocations: 49.7 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.7847, allocations: 329.9 kB / 0.9578 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.7848, allocations: 52.28 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.7849, allocations: 33.31 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.7849, allocations: 5.75 kB / 0.9578 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.7851, allocations: 83.02 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.7851, allocations: 0 / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003576/0.7854, allocations: 148.5 kB / 0.9581 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.7855, allocations: 57.16 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.7855, allocations: 120.9 kB / 0.9582 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.7856, allocations: 26.42 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.7856, allocations: 99.2 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.7856, allocations: 10.94 kB / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.7856, allocations: 4 kB / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.7857, allocations: 321.7 kB / 0.9587 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.7858, allocations: 32.64 kB / 0.9587 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.7859, allocations: 46.59 kB / 0.9587 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.7859, allocations: 43.45 kB / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.786, allocations: 0 / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002109/0.7862, allocations: 114.9 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7862, allocations: 7.031 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7862, allocations: 3.953 kB / 0.9589 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7862, allocations: 1.344 kB / 0.9589 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.7863, allocations: 21.95 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.7863, allocations: 1.375 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.7864, allocations: 17.34 kB / 0.9589 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.7864, allocations: 6.094 kB / 0.959 GB, free: 3.824 MB / 0.7169 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.7865, allocations: 118.9 kB / 0.9591 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.7865, allocations: 3.375 kB / 0.9591 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.7866, allocations: 10.75 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7866, allocations: 3.953 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7866, allocations: 5 kB / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.7866, allocations: 0 / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.787, allocations: 392.8 kB / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.787, allocations: 0 / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.787, allocations: 9.641 kB / 0.9595 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7871, allocations: 3.953 kB / 0.9595 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7871, allocations: 5.844 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7871, allocations: 0 / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7871, allocations: 0 / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.7873, allocations: 206.7 kB / 0.9597 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.7874, allocations: 87.56 kB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.7874, allocations: 11.95 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.7875, allocations: 4.25 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.7875, allocations: 14.72 kB / 0.9598 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.7875, allocations: 3.062 kB / 0.9598 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.7876, allocations: 91.55 kB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7876, allocations: 0 / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003081/0.7879, allocations: 44.11 kB / 0.9599 GB, free: 2.914 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.7882, allocations: 168.7 kB / 0.9601 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.7884, allocations: 74.64 kB / 0.9602 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7885, allocations: 1.375 kB / 0.9602 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.7885, allocations: 42.09 kB / 0.9602 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.7888, allocations: 6.75 kB / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.7891, allocations: 211.2 kB / 0.9604 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.7893, allocations: 0.695 MB / 0.9611 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.7893, allocations: 2.938 kB / 0.9611 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.7893, allocations: 11.56 kB / 0.9611 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7893, allocations: 0 / 0.9611 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.003847/0.7932, allocations: 1.342 MB / 0.9624 GB, free: 1.137 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0