Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001454/0.001454, allocations: 172.7 kB / 15.95 MB, free: 208 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.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.43 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.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003814, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8498/0.8502, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001441/0.8517, allocations: 1.176 MB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.8528, allocations: 0.678 MB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.8529, allocations: 4.812 kB / 0.9563 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.8529, allocations: 0.9688 kB / 0.9563 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.8529, allocations: 12.83 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.8534, allocations: 92.44 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.8536, allocations: 69.94 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.8537, allocations: 17.64 kB / 0.9564 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.8537, allocations: 29.66 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.8538, allocations: 38.98 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.8538, allocations: 3.938 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.854, allocations: 88 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.8541, allocations: 10.8 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.8541, allocations: 39.92 kB / 0.9566 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.8543, allocations: 94.97 kB / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8543, allocations: 0 / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8543, allocations: 0.9688 kB / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8543, allocations: 0 / 0.9567 GB, free: 5.922 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.000539/0.8549, allocations: 418.4 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.8549, allocations: 9.094 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.855, allocations: 11.02 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.8551, allocations: 162.7 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.8551, allocations: 3.094 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.8551, allocations: 3.188 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.8553, allocations: 78.41 kB / 0.9574 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8554, allocations: 1.344 kB / 0.9574 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.8554, allocations: 0 / 0.9574 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.8554, allocations: 9.391 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.8555, allocations: 45.47 kB / 0.9574 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.8561, allocations: 330.1 kB / 0.9578 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.8562, allocations: 50.28 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/0.8563, allocations: 35.66 kB / 0.9578 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.8563, allocations: 4 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.8565, allocations: 85.02 kB / 0.9579 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8565, allocations: 0 / 0.9579 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003683/0.8569, allocations: 147.8 kB / 0.9581 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.857, allocations: 60.88 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.857, allocations: 120 kB / 0.9582 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.8571, allocations: 26.98 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.8571, allocations: 88.36 kB / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.8571, allocations: 18.02 kB / 0.9584 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.8571, allocations: 0 / 0.9584 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.8572, allocations: 317.3 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.8573, allocations: 37.31 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.8574, allocations: 46.5 kB / 0.9587 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.8575, allocations: 35.95 kB / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.8575, allocations: 0 / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002115/0.8577, allocations: 117.9 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8577, allocations: 5.562 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8577, allocations: 5.203 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8577, allocations: 1.156 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.8578, allocations: 17.83 kB / 0.9589 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8579, allocations: 5.312 kB / 0.9589 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.8579, allocations: 17.38 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.858, allocations: 2.656 kB / 0.9589 GB, free: 3.84 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 8.135e-05/0.858, allocations: 122.9 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.8581, allocations: 6.516 kB / 0.9591 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.8581, allocations: 9.625 kB / 0.9591 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8581, allocations: 5.109 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8581, allocations: 5.281 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.8581, allocations: 0 / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.8585, allocations: 384.4 kB / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8585, allocations: 0 / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.8586, allocations: 5.062 kB / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8586, allocations: 7.938 kB / 0.9595 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8586, allocations: 5.438 kB / 0.9595 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.8586, allocations: 5.625 kB / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8586, allocations: 0 / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.8589, allocations: 218.9 kB / 0.9597 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.8589, allocations: 90.56 kB / 0.9598 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.859, allocations: 9.422 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.859, allocations: 3.062 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.8591, allocations: 11.02 kB / 0.9598 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.8591, allocations: 3.094 kB / 0.9598 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.8591, allocations: 95.33 kB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8592, allocations: 0 / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000302/0.8595, allocations: 40.19 kB / 0.9599 GB, free: 2.918 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.000306/0.8598, allocations: 152.6 kB / 0.9601 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.86, allocations: 78.64 kB / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.86, allocations: 0 / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.8601, allocations: 43.42 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.8603, allocations: 11.67 kB / 0.9602 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.8607, allocations: 214 kB / 0.9604 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.8608, allocations: 0.6878 MB / 0.9611 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.8608, allocations: 8.297 kB / 0.9611 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.8609, allocations: 14.12 kB / 0.9611 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8609, allocations: 0 / 0.9611 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.003729/0.8646, allocations: 1.339 MB / 0.9624 GB, free: 1.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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