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.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.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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001704/0.001704, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.345/2.345, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002384, allocations: 63.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7397, allocations: 140.4 MB / 0.9489 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00295/0.7427, allocations: 1.539 MB / 0.9504 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.744, allocations: 0.7255 MB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.7441, allocations: 0 / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.7442, allocations: 9.297 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.7442, allocations: 13.14 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.7447, allocations: 108.6 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.781e-05/0.7448, allocations: 70.03 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.7449, allocations: 13.47 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.745, allocations: 34.69 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.7451, allocations: 34.83 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.7451, allocations: 4.219 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.7453, allocations: 97.62 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.7453, allocations: 14.36 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.7453, allocations: 37.62 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.7456, allocations: 138.5 kB / 0.9517 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7456, allocations: 1.625 kB / 0.9517 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7456, allocations: 0 / 0.9517 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7456, allocations: 0 / 0.9517 GB, free: 7.18 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.0006524/0.7462, allocations: 416.2 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.7463, allocations: 8.875 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.7464, allocations: 9.016 kB / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.7465, allocations: 176.5 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.7465, allocations: 1.75 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.7465, allocations: 8.531 kB / 0.9523 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.7467, allocations: 68.53 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7467, allocations: 0 / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7468, allocations: 0 / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7468, allocations: 5.703 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.7469, allocations: 36.84 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.7475, allocations: 328.9 kB / 0.9527 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.7477, allocations: 57.08 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.7478, allocations: 31.66 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.7478, allocations: 1.25 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.748, allocations: 76.47 kB / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7481, allocations: 1.406 kB / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004959/0.7486, allocations: 143.9 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.7486, allocations: 52.69 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.7487, allocations: 120.8 kB / 0.9531 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.7488, allocations: 30.95 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.7489, allocations: 91.98 kB / 0.9533 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.7489, allocations: 14.33 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.7489, allocations: 25.59 kB / 0.9533 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7491, allocations: 325.3 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.7492, allocations: 25.98 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.7493, allocations: 52.61 kB / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.7495, allocations: 77.14 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7495, allocations: 1.219 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002705/0.7498, allocations: 109 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.7498, allocations: 5.719 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.7498, allocations: 4.062 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7498, allocations: 1.375 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.7499, allocations: 20.42 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.75, allocations: 2.062 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.75, allocations: 14.8 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.7501, allocations: 3.938 kB / 0.9539 GB, free: 5.035 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,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.378e-05/0.7502, allocations: 122.4 kB / 0.954 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.7502, allocations: 7.188 kB / 0.954 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.7502, allocations: 13.59 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7502, allocations: 1.156 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7502, allocations: 0 / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7502, allocations: 5.016 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.7507, allocations: 386.8 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7507, allocations: 0 / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.7507, allocations: 4.094 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7507, allocations: 0 / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7507, allocations: 5.656 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7507, allocations: 0 / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7508, allocations: 5.25 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.751, allocations: 208.2 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.7511, allocations: 87.42 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.7511, allocations: 1.156 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.7512, allocations: 10.8 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.7512, allocations: 6.531 kB / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.7513, allocations: 6.797 kB / 0.9547 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.7513, allocations: 88.72 kB / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7513, allocations: 0 / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003215/0.7516, allocations: 45.27 kB / 0.9549 GB, free: 4.125 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 (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.0003269/0.752, allocations: 168.5 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.7522, allocations: 73.86 kB / 0.9551 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7522, allocations: 1.531 kB / 0.9551 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.7523, allocations: 36.31 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.7525, allocations: 3.703 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.7529, allocations: 199.4 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.7531, allocations: 0.6919 MB / 0.956 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.7531, allocations: 4.281 kB / 0.956 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.7531, allocations: 14.31 kB / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7531, allocations: 0 / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.003851/0.757, allocations: 1.369 MB / 0.9574 GB, free: 2.352 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