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.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.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.005277/0.005277, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001278/0.001278, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.9511, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00272/0.9539, allocations: 1.485 MB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.9552, allocations: 0.7279 MB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.9553, allocations: 1.188 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.9554, allocations: 4.641 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.9554, allocations: 11.41 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.956, allocations: 120.4 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.9562, allocations: 81.7 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.9563, allocations: 14.94 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.9564, allocations: 31.5 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.9565, allocations: 41.44 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.9565, allocations: 6.25 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.9568, allocations: 98.77 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.9568, allocations: 15.19 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.9568, allocations: 36.62 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.9571, allocations: 141.2 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9571, allocations: 0.875 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9571, allocations: 0 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.9572, allocations: 1.688 kB / 1.091 GB, free: 3.711 MB / 0.8575 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.0005887/0.9578, allocations: 420 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9578, allocations: 8.906 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.9579, allocations: 9.031 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.502e-05/0.9579, allocations: 173.8 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.958, allocations: 11.05 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.958, allocations: 4.312 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.9582, allocations: 72.44 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9582, allocations: 0.9062 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.9582, allocations: 0.75 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9582, allocations: 1.688 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.9584, allocations: 34.78 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.959, allocations: 327.8 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.9591, allocations: 52.95 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.9592, allocations: 32.25 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.9593, allocations: 1.312 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.9595, allocations: 76.86 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.9595, allocations: 1.062 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004392/0.9599, allocations: 141 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.96, allocations: 53.78 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.9601, allocations: 118.9 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.9601, allocations: 31.12 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.9602, allocations: 96.55 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.9602, allocations: 15.77 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.9602, allocations: 29.28 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.9603, allocations: 320 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.9604, allocations: 30.58 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.9605, allocations: 46.8 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.9607, allocations: 76.77 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9607, allocations: 0 / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002315/0.9609, allocations: 112 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.961, allocations: 6.438 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.961, allocations: 0.8438 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.961, allocations: 1.734 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.9611, allocations: 15.55 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.9611, allocations: 1.328 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.9612, allocations: 13.78 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.9612, allocations: 7.703 kB / 1.093 GB, free: 1.727 MB / 0.8575 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.321e-05/0.9613, allocations: 122.9 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.9613, allocations: 7.891 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.9614, allocations: 11.14 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.9614, allocations: 5 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.9614, allocations: 0.5156 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.9614, allocations: 1.922 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.9619, allocations: 381.8 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9619, allocations: 4 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.9619, allocations: 6.469 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9619, allocations: 0 / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.9619, allocations: 2.906 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9619, allocations: 0 / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.962, allocations: 9.438 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.9622, allocations: 207.2 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.9623, allocations: 79.92 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.9623, allocations: 5.391 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.9624, allocations: 7.734 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.9624, allocations: 13.41 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.9625, allocations: 7.406 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.9625, allocations: 96.09 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9625, allocations: 0 / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003437/0.9629, allocations: 46.31 kB / 1.094 GB, free: 0.8633 MB / 0.8575 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.0003477/0.9632, allocations: 155.4 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.9635, allocations: 80.98 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9635, allocations: 0 / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.9636, allocations: 33.77 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.9639, allocations: 8.719 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.9643, allocations: 184.9 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.9645, allocations: 0.6944 MB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.9645, allocations: 9.125 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.9646, allocations: 11.08 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 4.2e-07/0.9646, allocations: 1 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004777/0.9694, allocations: 1.452 MB / 1.096 GB, free: 15.71 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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