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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001385/0.001385, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001514/0.001514, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7907, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.001805/0.7926, allocations: 1.174 MB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.7937, allocations: 0.6744 MB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.7938, allocations: 0 / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.7938, allocations: 5.625 kB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.7939, allocations: 9.219 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.7944, allocations: 90.7 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.7945, allocations: 47.28 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.7946, allocations: 16.5 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.7947, allocations: 33.36 kB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.7948, allocations: 35.89 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.7948, allocations: 3.781 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.795, allocations: 66.84 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.795, allocations: 14.78 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.7951, allocations: 37.73 kB / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.7952, allocations: 95.86 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7953, allocations: 0 / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7953, allocations: 5.312 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7953, allocations: 0 / 0.9558 GB, free: 6.387 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.0005687/0.7959, allocations: 413.9 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7959, allocations: 8.344 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.796, allocations: 12.2 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.7961, allocations: 165.9 kB / 0.9563 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.7961, allocations: 2.781 kB / 0.9563 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.7961, allocations: 12.36 kB / 0.9563 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.7963, allocations: 73.47 kB / 0.9564 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7963, allocations: 5.422 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.7963, allocations: 0 / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7964, allocations: 1.688 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.7965, allocations: 44.95 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.7971, allocations: 322.3 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.7972, allocations: 50.44 kB / 0.9568 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.7972, allocations: 5.125 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.7974, allocations: 84.59 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.7975, allocations: 0 / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004022/0.7979, allocations: 151.6 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.7979, allocations: 61.61 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.798, allocations: 120.9 kB / 0.9572 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.798, allocations: 26.8 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.7981, allocations: 94.47 kB / 0.9573 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.7981, allocations: 14.94 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.7981, allocations: 0 / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.7982, allocations: 325.1 kB / 0.9577 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.7982, allocations: 29.58 kB / 0.9577 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.7983, allocations: 49.78 kB / 0.9577 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.7984, allocations: 35.98 kB / 0.9578 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7984, allocations: 0 / 0.9578 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/0.7987, allocations: 121.9 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7987, allocations: 5.094 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7987, allocations: 2.156 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7987, allocations: 5.453 kB / 0.9579 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.7988, allocations: 24.48 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.7988, allocations: 3.25 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.7989, allocations: 7.906 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.7989, allocations: 6.469 kB / 0.9579 GB, free: 4.316 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.799, allocations: 118.5 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.799, allocations: 7.344 kB / 0.9581 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.7991, allocations: 10.34 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7991, allocations: 4.984 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7991, allocations: 4 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7991, allocations: 0 / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.7995, allocations: 384.3 kB / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7995, allocations: 0 / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.7995, allocations: 9.172 kB / 0.9585 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7995, allocations: 3.953 kB / 0.9585 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7995, allocations: 5.062 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7995, allocations: 1 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7996, allocations: 4 kB / 0.9585 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.7998, allocations: 215.4 kB / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.7998, allocations: 82.77 kB / 0.9588 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.7999, allocations: 9.641 kB / 0.9588 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.7999, allocations: 3.312 kB / 0.9588 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.8, allocations: 11.8 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.8, allocations: 2 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.8, allocations: 96.86 kB / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8, allocations: 0 / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003048/0.8004, allocations: 42.77 kB / 0.9589 GB, free: 3.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.8007, allocations: 162.6 kB / 0.9591 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.8009, allocations: 79.17 kB / 0.9591 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8009, allocations: 0 / 0.9591 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.801, allocations: 38.55 kB / 0.9592 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.8012, allocations: 10.92 kB / 0.9592 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.8016, allocations: 210.8 kB / 0.9594 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.8018, allocations: 0.6942 MB / 0.9601 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.8018, allocations: 3.438 kB / 0.9601 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.8018, allocations: 14.08 kB / 0.9601 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8018, allocations: 0 / 0.9601 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of Templates: time 0.004055/0.8059, allocations: 1.327 MB / 0.9614 GB, free: 1.637 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","../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