Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007318/0.007318, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.001766/0.001766, allocations: 200.5 kB / 16.68 MB, free: 6.371 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3638, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00245/0.3663, allocations: 1.48 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3675, allocations: 0.7323 MB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.3675, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.3675, allocations: 11.86 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.3676, allocations: 11.88 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.3681, allocations: 127.5 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3682, allocations: 75.78 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.3683, allocations: 19.92 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.3684, allocations: 27.92 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.3684, allocations: 47.75 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3685, allocations: 8 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3686, allocations: 91.91 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.3687, allocations: 19.92 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.3687, allocations: 31.86 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3689, allocations: 143.5 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3689, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3689, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3689, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 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.0005907/0.3695, allocations: 422.6 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.3695, allocations: 8.031 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.3696, allocations: 12.88 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3697, allocations: 176.3 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3697, allocations: 4.375 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3697, allocations: 384 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3699, allocations: 77.95 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.3699, allocations: 3.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3699, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3699, allocations: 7.938 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3701, allocations: 39.95 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.3707, allocations: 316.7 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3708, allocations: 46.55 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.3709, allocations: 28.97 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3709, allocations: 0 / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.3711, allocations: 87.38 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3711, allocations: 0 / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003697/0.3714, allocations: 137.6 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3715, allocations: 51.41 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.3716, allocations: 125.8 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3716, allocations: 25.7 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.3717, allocations: 96.14 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.3717, allocations: 15.89 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.3717, allocations: 29.66 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3718, allocations: 322.8 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.3719, allocations: 27.98 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.372, allocations: 46.55 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3721, allocations: 70.56 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3721, allocations: 0 / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.3724, allocations: 121.5 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3724, allocations: 7.938 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3724, allocations: 4 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3724, allocations: 8 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3725, allocations: 15.98 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3725, allocations: 0 / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.3726, allocations: 11.92 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3726, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 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 8.368e-05/0.3727, allocations: 118.3 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.3727, allocations: 7.953 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3727, allocations: 12.38 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3727, allocations: 4 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3727, allocations: 3.938 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3727, allocations: 3.984 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.3733, allocations: 382.4 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3733, allocations: 0 / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.3733, allocations: 4 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3733, allocations: 0 / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3734, allocations: 4 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3734, allocations: 4 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3734, allocations: 3.938 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3737, allocations: 203.9 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3737, allocations: 89.06 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3738, allocations: 0 / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.3738, allocations: 7.984 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3739, allocations: 3.938 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3739, allocations: 11.98 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.3739, allocations: 87.94 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3739, allocations: 0 / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003168/0.3743, allocations: 43.86 kB / 1.227 GB, free: 7.383 MB / 0.9825 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.000304/0.3746, allocations: 175.4 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3748, allocations: 71.89 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3748, allocations: 0 / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.3749, allocations: 31.92 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3751, allocations: 12.75 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.3755, allocations: 192.7 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3758, allocations: 0.6925 MB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.3758, allocations: 4 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3758, allocations: 11.44 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3758, allocations: 0 / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of Templates: time 0.004049/0.3799, allocations: 1.469 MB / 1.229 GB, free: 4.691 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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