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.005616/0.005616, allocations: 102 kB / 15.73 MB, free: 6.051 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.00134/0.00134, allocations: 195 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3112, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003/0.3142, allocations: 1.474 MB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3156, allocations: 0.7288 MB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3156, allocations: 0 / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.3157, allocations: 3.938 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.3158, allocations: 15.86 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.3164, allocations: 127.5 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3166, allocations: 75.83 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.3167, allocations: 11.95 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.3168, allocations: 39.84 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.3169, allocations: 39.83 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3169, allocations: 8 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.3171, allocations: 91.91 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.3171, allocations: 27.91 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3172, allocations: 27.86 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3175, allocations: 143.5 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3175, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3175, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3175, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 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.0006896/0.3182, allocations: 421 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3182, allocations: 8.031 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.3183, allocations: 12.84 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3184, allocations: 176.2 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3185, allocations: 384 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3185, allocations: 4.375 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3187, allocations: 77.91 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3187, allocations: 3.984 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3187, allocations: 11.86 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3188, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3189, allocations: 39.97 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.3195, allocations: 320.7 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3197, allocations: 46.5 kB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.3198, allocations: 32.97 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3198, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.32, allocations: 87.36 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.32, allocations: 0 / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003878/0.3204, allocations: 137.6 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3204, allocations: 55.39 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.3205, allocations: 125.8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3206, allocations: 25.7 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.3206, allocations: 96.12 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3207, allocations: 15.75 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.3207, allocations: 29.7 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3208, allocations: 322.8 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.3209, allocations: 27.97 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.321, allocations: 42.56 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3212, allocations: 78.48 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3212, allocations: 0 / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.3215, allocations: 113.5 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3215, allocations: 4 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3215, allocations: 64 / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3215, allocations: 8 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.3216, allocations: 15.92 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3217, allocations: 0 / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.3217, allocations: 8 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3217, allocations: 4 kB / 1.213 GB, free: 4.301 MB / 0.9669 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.3218, allocations: 121.7 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.3219, allocations: 7.906 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.3219, allocations: 16.36 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3219, allocations: 4 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3219, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3219, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.3224, allocations: 378.4 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3224, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.3225, allocations: 7.938 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3225, allocations: 0 / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3225, allocations: 3.984 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3225, allocations: 8 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3225, allocations: 7.938 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3228, allocations: 211.3 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.3228, allocations: 85.02 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3229, allocations: 3.984 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.323, allocations: 4 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.323, allocations: 15.92 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.323, allocations: 4 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.3231, allocations: 95.86 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3231, allocations: 0 / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003075/0.3234, allocations: 36 kB / 1.214 GB, free: 3.207 MB / 0.9669 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.00034/0.3238, allocations: 169.8 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.324, allocations: 71.95 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.324, allocations: 0 / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.3241, allocations: 35.92 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3244, allocations: 11.98 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.3249, allocations: 185 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3252, allocations: 0.6924 MB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3252, allocations: 7.938 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.3252, allocations: 15.44 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of SimCode: time 1.773e-06/0.3252, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.004276/0.3295, allocations: 1.474 MB / 1.216 GB, free: 0.5078 MB / 0.9669 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