Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009372/0.0009369, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008376/0.008376, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.904/2.904, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 9.875 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00166/0.3417, allocations: 1.198 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.343, allocations: 0.7284 MB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.343, allocations: 0 / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.3431, allocations: 7.938 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.3431, allocations: 15.86 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.3436, allocations: 107.7 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.3437, allocations: 63.84 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3439, allocations: 15.97 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.3439, allocations: 27.86 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.344, allocations: 43.83 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.344, allocations: 4 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3442, allocations: 83.91 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3443, allocations: 15.92 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.3443, allocations: 53.56 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3445, allocations: 139.8 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3445, allocations: 4 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3445, allocations: 0 / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3446, allocations: 0 / 1.061 GB, free: 2.984 MB / 0.8106 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.0006047/0.3452, allocations: 405.1 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3452, allocations: 8.031 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.3453, allocations: 8.844 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3454, allocations: 180.2 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.3454, allocations: 4.375 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3455, allocations: 8.375 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3457, allocations: 69.97 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3457, allocations: 4 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3457, allocations: 0 / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3457, allocations: 7.984 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.3459, allocations: 43.91 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3465, allocations: 320.7 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3466, allocations: 50.56 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.3467, allocations: 32.97 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3467, allocations: 7.938 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.3469, allocations: 87.38 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.347, allocations: 0 / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003954/0.3474, allocations: 149.6 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3474, allocations: 55.41 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.3475, allocations: 122.1 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3475, allocations: 25.7 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.3476, allocations: 92.12 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3476, allocations: 15.75 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3477, allocations: 21.7 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3478, allocations: 326.7 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.3479, allocations: 31.98 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.348, allocations: 54.59 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3481, allocations: 78.55 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3482, allocations: 3.938 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.3484, allocations: 125.8 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3484, allocations: 9.703 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3484, allocations: 8 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3485, allocations: 4 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.3486, allocations: 8 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3486, allocations: 0 / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.3486, allocations: 15.98 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3487, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 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.463e-05/0.3488, allocations: 121.8 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.3488, allocations: 7.906 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.3488, allocations: 16.36 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3488, allocations: 3.938 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3488, allocations: 0 / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3488, allocations: 3.938 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.3493, allocations: 390.4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3493, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.3494, allocations: 8 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3494, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3494, allocations: 3.984 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3494, allocations: 4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.3494, allocations: 3.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3497, allocations: 219.4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.3498, allocations: 81.02 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3498, allocations: 3.984 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.3499, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.3499, allocations: 11.92 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3499, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.35, allocations: 91.27 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.35, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002916/0.3503, allocations: 40 kB / 1.064 GB, free: 15.3 MB / 0.8262 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.0003287/0.3506, allocations: 157.2 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.3509, allocations: 83.95 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3509, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.351, allocations: 39.92 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3513, allocations: 11.92 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.3517, allocations: 222.1 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3519, allocations: 0.6887 MB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.3519, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.352, allocations: 15.42 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.352, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.00403/0.356, allocations: 1.367 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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