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.001522/0.001522, 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.001911/0.001912, allocations: 195.3 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.389/2.389, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7654, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002406/0.7678, allocations: 1.478 MB / 0.951 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7689, allocations: 0.7289 MB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.769, allocations: 1.156 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.769, allocations: 3.938 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.7691, allocations: 14.36 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.7697, allocations: 121 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.7698, allocations: 87.08 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.7699, allocations: 10.52 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.77, allocations: 37.66 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.77, allocations: 39.23 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.7701, allocations: 6.719 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.7702, allocations: 97.94 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.7703, allocations: 15.67 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.7703, allocations: 42.66 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.7705, allocations: 133.3 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7705, allocations: 0 / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7705, allocations: 0 / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.7705, allocations: 0 / 0.9523 GB, free: 7.039 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.0005419/0.7711, allocations: 428.3 kB / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7711, allocations: 9.188 kB / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.7712, allocations: 9.156 kB / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.7713, allocations: 175.5 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.7713, allocations: 2.469 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.7713, allocations: 4.219 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.7715, allocations: 72.16 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.7715, allocations: 1.594 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7715, allocations: 7.969 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7716, allocations: 1.406 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.7717, allocations: 31.95 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.7722, allocations: 329.8 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.7724, allocations: 49.16 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.7725, allocations: 31.47 kB / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.7725, allocations: 5.062 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.7727, allocations: 76.91 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.7727, allocations: 0 / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004148/0.7732, allocations: 136.3 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.7732, allocations: 57.88 kB / 0.9537 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.7733, allocations: 128.4 kB / 0.9538 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.7733, allocations: 26.77 kB / 0.9538 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.7734, allocations: 91.78 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.7734, allocations: 18.92 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.7735, allocations: 33.45 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.7735, allocations: 316.4 kB / 0.9543 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.7736, allocations: 26.23 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.7737, allocations: 52.42 kB / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.7739, allocations: 73.45 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7739, allocations: 1.5 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002225/0.7741, allocations: 112.3 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7741, allocations: 9.156 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7741, allocations: 1.344 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7742, allocations: 1.469 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.7743, allocations: 8.031 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7743, allocations: 5.328 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.7743, allocations: 7.719 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.7744, allocations: 7.469 kB / 0.9546 GB, free: 4.895 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 8.067e-05/0.7745, allocations: 129.2 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.7745, allocations: 11.88 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.7745, allocations: 13.14 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7745, allocations: 1 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7745, allocations: 1.469 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7745, allocations: 0 / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.7749, allocations: 386.7 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7749, allocations: 0 / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.775, allocations: 3.594 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.775, allocations: 9.219 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.775, allocations: 5.141 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.775, allocations: 0 / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.775, allocations: 5.031 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.7753, allocations: 205.1 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.7753, allocations: 87.48 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.7753, allocations: 5.422 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.7754, allocations: 6.594 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.7755, allocations: 10.66 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.7755, allocations: 10.05 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.7756, allocations: 92.98 kB / 0.9555 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7756, allocations: 0 / 0.9555 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003335/0.7759, allocations: 39.5 kB / 0.9555 GB, free: 3.969 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.0003724/0.7763, allocations: 155.2 kB / 0.9557 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.7765, allocations: 77.56 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7766, allocations: 0 / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.7767, allocations: 33.02 kB / 0.9558 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.7769, allocations: 11.3 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.7774, allocations: 178.9 kB / 0.956 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.7775, allocations: 0.6924 MB / 0.9566 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.7776, allocations: 2.812 kB / 0.9566 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.7776, allocations: 19.81 kB / 0.9567 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7776, allocations: 0 / 0.9567 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.004244/0.7819, allocations: 1.452 MB / 0.9581 GB, free: 2.176 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/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