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.007423/0.007423, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001201/0.001201, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.321/2.321, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 75.88 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9484, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00241/0.9508, allocations: 1.478 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.9521, allocations: 0.7239 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.9521, allocations: 1.156 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.9522, allocations: 5.062 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.9523, allocations: 11.27 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.9528, allocations: 120.7 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.953, allocations: 77.34 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.9531, allocations: 19.66 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.9532, allocations: 35.41 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.9532, allocations: 37.44 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.9533, allocations: 6.438 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.9535, allocations: 94.23 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.9535, allocations: 23.81 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.9536, allocations: 39.66 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.9538, allocations: 138.5 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9538, allocations: 5.594 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9538, allocations: 0 / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.9539, allocations: 0 / 1.091 GB, free: 3.715 MB / 0.8575 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.0005622/0.9544, allocations: 421.8 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.9545, allocations: 9.5 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.9545, allocations: 10.31 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.9546, allocations: 173.2 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.9546, allocations: 6.406 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.9547, allocations: 8.25 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.9549, allocations: 68.5 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.9549, allocations: 0.7031 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.9549, allocations: 1 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.9549, allocations: 1.094 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.9551, allocations: 40.23 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.9556, allocations: 326.4 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.9558, allocations: 49.14 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/0.9559, allocations: 32.61 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.9559, allocations: 1.516 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.9561, allocations: 76.7 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.9561, allocations: 0 / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004425/0.9566, allocations: 141.8 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.9566, allocations: 54.89 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.9568, allocations: 118.4 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.9568, allocations: 27.38 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.9568, allocations: 91.95 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.9569, allocations: 16.23 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.9569, allocations: 33.3 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.957, allocations: 323.3 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.9571, allocations: 35.75 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.9572, allocations: 49.47 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.9574, allocations: 76.12 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9575, allocations: 1.531 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002668/0.9577, allocations: 107.9 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.9578, allocations: 6.078 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9578, allocations: 1.453 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.9578, allocations: 1.25 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.9579, allocations: 19.8 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.9579, allocations: 5.953 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.958, allocations: 17.3 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.958, allocations: 3.125 kB / 1.093 GB, free: 1.719 MB / 0.8575 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.42e-05/0.9581, allocations: 119.4 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.9582, allocations: 8.578 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.9582, allocations: 9.891 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9582, allocations: 1.844 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9582, allocations: 0 / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9582, allocations: 5.547 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.9587, allocations: 385.7 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9587, allocations: 1.344 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.9588, allocations: 4.812 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9588, allocations: 0.7969 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.9588, allocations: 1.953 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.9588, allocations: 0.7812 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9588, allocations: 4.594 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.9591, allocations: 215.7 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.9591, allocations: 83.53 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.9592, allocations: 6 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.9593, allocations: 4.281 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.9593, allocations: 9.172 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.9594, allocations: 2.938 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.9594, allocations: 96.38 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9594, allocations: 0.8125 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003785/0.9598, allocations: 37.59 kB / 1.094 GB, free: 0.8711 MB / 0.8575 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.0004055/0.9602, allocations: 166.7 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.9605, allocations: 80.44 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9605, allocations: 0 / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.9606, allocations: 32.61 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.9609, allocations: 5.156 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.9613, allocations: 188 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.9615, allocations: 0.6912 MB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.9616, allocations: 12.03 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.9616, allocations: 12.88 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9616, allocations: 0 / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.005053/0.9667, allocations: 1.455 MB / 1.096 GB, free: 15.7 MB / 0.8731 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