Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 197 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.412/2.412, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7989, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.004099/0.803, allocations: 1.476 MB / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.8049, allocations: 0.7339 MB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.8049, allocations: 4 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.805, allocations: 7.875 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.8051, allocations: 10.12 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007932/0.8059, allocations: 118 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.8061, allocations: 83.55 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.8062, allocations: 17.12 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.8063, allocations: 34.83 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.8065, allocations: 46.34 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.8065, allocations: 6.531 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.8068, allocations: 94.84 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.8068, allocations: 14.05 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.8069, allocations: 36.3 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.8072, allocations: 140.8 kB / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8072, allocations: 0 / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8072, allocations: 0 / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.8072, allocations: 0 / 0.9523 GB, free: 6.988 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.0007656/0.808, allocations: 424.2 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.8081, allocations: 9.094 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.8082, allocations: 9.578 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.8083, allocations: 171.2 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.8083, allocations: 6.594 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.8084, allocations: 12.3 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.8087, allocations: 72.78 kB / 0.953 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.8087, allocations: 0 / 0.953 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.8087, allocations: 5.094 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.8088, allocations: 1.125 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.809, allocations: 36.22 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.8098, allocations: 321.7 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.8101, allocations: 56.45 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.8102, allocations: 32.47 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.8103, allocations: 0 / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.8105, allocations: 73.06 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.8106, allocations: 1.094 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000607/0.8112, allocations: 143.5 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.8112, allocations: 53.94 kB / 0.9537 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.8114, allocations: 124.6 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.8114, allocations: 30.77 kB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.8115, allocations: 86.48 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.8115, allocations: 22.7 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.8116, allocations: 21.94 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.8116, allocations: 329 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.8118, allocations: 26.3 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.8119, allocations: 49.45 kB / 0.9543 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.8122, allocations: 77.73 kB / 0.9544 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8123, allocations: 4 kB / 0.9544 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003761/0.8126, allocations: 112.7 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.8127, allocations: 6.719 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8127, allocations: 1.438 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.8127, allocations: 1.156 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.8129, allocations: 12.77 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.8129, allocations: 1.219 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.813, allocations: 12.55 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.813, allocations: 5.656 kB / 0.9546 GB, free: 4.84 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.941e-05/0.8132, allocations: 131.3 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.8132, allocations: 7.062 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.8132, allocations: 5.562 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8133, allocations: 1.062 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8133, allocations: 0 / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8133, allocations: 3.984 kB / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.8139, allocations: 391.8 kB / 0.9551 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8139, allocations: 0 / 0.9551 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.814, allocations: 3.719 kB / 0.9551 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.814, allocations: 3.938 kB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.814, allocations: 5 kB / 0.9551 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.814, allocations: 1.094 kB / 0.9551 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.814, allocations: 3.938 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.8145, allocations: 209.7 kB / 0.9553 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.8145, allocations: 83.3 kB / 0.9554 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.8146, allocations: 1.125 kB / 0.9554 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.8147, allocations: 6.203 kB / 0.9554 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.8148, allocations: 11.28 kB / 0.9554 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.8148, allocations: 6.328 kB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.8149, allocations: 87.81 kB / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.523e-06/0.8149, allocations: 0 / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005688/0.8155, allocations: 52.48 kB / 0.9555 GB, free: 3.922 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.0004081/0.8159, allocations: 155.5 kB / 0.9557 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.8163, allocations: 77.94 kB / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8163, allocations: 0 / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.8165, allocations: 36.56 kB / 0.9558 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.817, allocations: 7.719 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.8175, allocations: 182.8 kB / 0.956 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.8176, allocations: 0.6956 MB / 0.9566 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.653e-05/0.8177, allocations: 4.094 kB / 0.9567 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.8178, allocations: 10.38 kB / 0.9567 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.8178, allocations: 0 / 0.9567 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.006106/0.8239, allocations: 1.449 MB / 0.9581 GB, free: 2.129 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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