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.001019/0.001019, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008554/0.008555, allocations: 170 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.34 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.438/2.438, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 8.188 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7234, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001503/0.7249, allocations: 1.2 MB / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.7261, allocations: 0.7139 MB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.7261, allocations: 0 / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.7261, allocations: 5.234 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.7262, allocations: 9.25 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.7267, allocations: 108.1 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.7268, allocations: 75.3 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.7269, allocations: 13.12 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.447e-05/0.727, allocations: 29.64 kB / 0.9571 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.7271, allocations: 40.05 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.7271, allocations: 2.688 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.7273, allocations: 93.19 kB / 0.9573 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.7273, allocations: 10.36 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.7274, allocations: 50.41 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.7276, allocations: 139.6 kB / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7276, allocations: 0 / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7276, allocations: 1.281 kB / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7276, allocations: 0 / 0.9575 GB, free: 5.883 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.0005421/0.7282, allocations: 417.7 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7282, allocations: 8.531 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.7283, allocations: 12.25 kB / 0.9579 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.734e-05/0.7284, allocations: 177.4 kB / 0.958 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.7284, allocations: 5.594 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.7284, allocations: 4.062 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.7286, allocations: 75.22 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7286, allocations: 0 / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.7287, allocations: 5.969 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7287, allocations: 0 / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.7288, allocations: 43.12 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.7293, allocations: 320.5 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7295, allocations: 51.56 kB / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.7296, allocations: 43.3 kB / 0.9586 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.7296, allocations: 5.25 kB / 0.9586 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.7298, allocations: 83.64 kB / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.7298, allocations: 0 / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000377/0.7302, allocations: 148.7 kB / 0.9588 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.7302, allocations: 53.19 kB / 0.9588 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.7303, allocations: 121.8 kB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7303, allocations: 30.86 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.7304, allocations: 90.61 kB / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.7304, allocations: 18.8 kB / 0.9591 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.7304, allocations: 21.14 kB / 0.9591 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.7305, allocations: 328 kB / 0.9594 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.7306, allocations: 33.84 kB / 0.9595 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.7307, allocations: 47.19 kB / 0.9595 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.7308, allocations: 83.61 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7308, allocations: 0 / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002305/0.7311, allocations: 119.1 kB / 0.9597 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7311, allocations: 11.12 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.7311, allocations: 0 / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7311, allocations: 1.375 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.7312, allocations: 17.55 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.7312, allocations: 1.375 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.7313, allocations: 9.438 kB / 0.9597 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.7313, allocations: 2.75 kB / 0.9597 GB, free: 3.738 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.314e-05/0.7314, allocations: 130.4 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.7314, allocations: 6.594 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.7315, allocations: 9.703 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7315, allocations: 1.312 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7315, allocations: 0 / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7315, allocations: 5.312 kB / 0.9599 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.7319, allocations: 391.8 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7319, allocations: 1.781 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.732, allocations: 3.594 kB / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.732, allocations: 0 / 0.9603 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.732, allocations: 5.516 kB / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.732, allocations: 0 / 0.9603 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.732, allocations: 5.438 kB / 0.9603 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.7323, allocations: 218.4 kB / 0.9605 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.7323, allocations: 83.58 kB / 0.9606 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.7323, allocations: 5.266 kB / 0.9606 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.7324, allocations: 7.875 kB / 0.9606 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.7325, allocations: 10.05 kB / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.7325, allocations: 6.594 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.7325, allocations: 93.64 kB / 0.9607 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7325, allocations: 4 kB / 0.9607 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003185/0.7329, allocations: 39.72 kB / 0.9607 GB, free: 2.82 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.000343/0.7332, allocations: 160 kB / 0.9609 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.7335, allocations: 87.25 kB / 0.961 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7335, allocations: 0 / 0.961 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.7336, allocations: 35.86 kB / 0.961 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.7339, allocations: 10.92 kB / 0.961 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.7342, allocations: 211.7 kB / 0.9612 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.7344, allocations: 0.6884 MB / 0.9619 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.7344, allocations: 6.734 kB / 0.9619 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.7344, allocations: 11.56 kB / 0.9619 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7344, allocations: 3.938 kB / 0.9619 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of Templates: time 0.005202/0.7396, allocations: 1.37 MB / 0.9632 GB, free: 1.023 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