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.0007864/0.0007865, allocations: 97.78 kB / 16.02 MB, free: 72 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.0009009/0.0009009, allocations: 187 kB / 16.92 MB, free: 6.75 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.34 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.712/2.712, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6695, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00139/0.6709, allocations: 1.2 MB / 0.9569 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.672, allocations: 0.7138 MB / 0.9576 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.6721, allocations: 5.25 kB / 0.9576 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.6721, allocations: 3.984 kB / 0.9576 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.6722, allocations: 13.17 kB / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.6726, allocations: 108.9 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.6727, allocations: 70.94 kB / 0.9578 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.6729, allocations: 17.12 kB / 0.9578 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.6729, allocations: 30.31 kB / 0.9578 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.673, allocations: 34.78 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.673, allocations: 3.312 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.6732, allocations: 88.66 kB / 0.9579 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.6732, allocations: 11.45 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.6733, allocations: 61.86 kB / 0.958 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.6735, allocations: 104 kB / 0.9581 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6735, allocations: 0 / 0.9581 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6735, allocations: 1.188 kB / 0.9581 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6735, allocations: 0 / 0.9581 GB, free: 5.777 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.0005119/0.674, allocations: 404.7 kB / 0.9585 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.674, allocations: 10 kB / 0.9585 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.6741, allocations: 12.84 kB / 0.9585 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.6742, allocations: 177.6 kB / 0.9587 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.6742, allocations: 4.312 kB / 0.9587 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.6742, allocations: 8.688 kB / 0.9587 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.6744, allocations: 71.28 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6745, allocations: 0 / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6745, allocations: 1.312 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6745, allocations: 0 / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.6746, allocations: 46 kB / 0.9588 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.6752, allocations: 318 kB / 0.9591 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.6753, allocations: 67.64 kB / 0.9592 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.6754, allocations: 38.94 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.6754, allocations: 0.9688 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.6756, allocations: 88.31 kB / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.6756, allocations: 0 / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003838/0.676, allocations: 148.4 kB / 0.9594 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.676, allocations: 53.22 kB / 0.9595 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.6761, allocations: 125.6 kB / 0.9596 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6761, allocations: 26.52 kB / 0.9596 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.6762, allocations: 95.2 kB / 0.9597 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.6762, allocations: 10.78 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.6762, allocations: 20.77 kB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.6763, allocations: 324.4 kB / 0.9601 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.6764, allocations: 29.98 kB / 0.9601 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.6765, allocations: 51.44 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.6766, allocations: 87.27 kB / 0.9602 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6767, allocations: 4 kB / 0.9602 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.6769, allocations: 118.7 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6769, allocations: 5.375 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6769, allocations: 1.781 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6769, allocations: 1.812 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.677, allocations: 12.92 kB / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.677, allocations: 1.875 kB / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.6771, allocations: 13.34 kB / 0.9604 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.6771, allocations: 1.781 kB / 0.9604 GB, free: 3.641 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 6.822e-05/0.6772, allocations: 132.1 kB / 0.9605 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.6772, allocations: 5.625 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.6772, allocations: 5.969 kB / 0.9605 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6773, allocations: 1.344 kB / 0.9605 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6773, allocations: 3.938 kB / 0.9605 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6773, allocations: 4 kB / 0.9605 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.6777, allocations: 389.2 kB / 0.9609 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6777, allocations: 0 / 0.9609 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.6777, allocations: 8.109 kB / 0.9609 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6777, allocations: 1.375 kB / 0.9609 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6777, allocations: 1.375 kB / 0.9609 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6777, allocations: 4 kB / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6777, allocations: 3.938 kB / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.678, allocations: 211.8 kB / 0.9611 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.678, allocations: 86.38 kB / 0.9612 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.678, allocations: 1.375 kB / 0.9612 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.6781, allocations: 8.125 kB / 0.9612 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.6782, allocations: 14.66 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6782, allocations: 6.688 kB / 0.9612 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.6782, allocations: 101.5 kB / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6782, allocations: 0 / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003032/0.6785, allocations: 39.42 kB / 0.9614 GB, free: 2.719 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.0003156/0.6789, allocations: 165.5 kB / 0.9615 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.6791, allocations: 76.27 kB / 0.9616 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6791, allocations: 0 / 0.9616 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.6792, allocations: 43.62 kB / 0.9616 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.6795, allocations: 6.734 kB / 0.9616 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.6798, allocations: 246.5 kB / 0.9619 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.68, allocations: 0.6916 MB / 0.9625 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.68, allocations: 15.55 kB / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.68, allocations: 0 / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.003382/0.6834, allocations: 1.595 MB / 0.9641 GB, free: 0.793 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches