Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9403/0.9403, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.11/2.11, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8794 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.592e-05, allocations: 4.141 kB / 0.8794 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001987/0.002013, allocations: 1.537 MB / 0.8809 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.002274, allocations: 107.5 kB / 0.881 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.002309, allocations: 1.891 kB / 0.881 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.043e-05/0.00236, allocations: 7.938 kB / 0.881 GB, free: 3.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.002422, allocations: 12.67 kB / 0.881 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.0026, allocations: 15.98 kB / 0.881 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.002673, allocations: 51.69 kB / 0.8811 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.002755, allocations: 8 kB / 0.8811 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.002813, allocations: 27.95 kB / 0.8811 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.002851, allocations: 15.92 kB / 0.8811 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.002868, allocations: 4 kB / 0.8811 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.2e-05/0.00293, allocations: 16.48 kB / 0.8812 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.00298, allocations: 21.42 kB / 0.8812 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.002997, allocations: 8 kB / 0.8812 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003105, allocations: 55.73 kB / 0.8812 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003107, allocations: 0 / 0.8812 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003108, allocations: 0.6875 kB / 0.8812 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003111, allocations: 4 kB / 0.8812 GB, free: 3.012 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003485/0.00346, allocations: 393.7 kB / 0.8816 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.003492, allocations: 12.03 kB / 0.8816 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.003524, allocations: 4.938 kB / 0.8816 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.003628, allocations: 117.3 kB / 0.8817 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.003641, allocations: 384 / 0.8817 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.003652, allocations: 9.969 kB / 0.8818 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.003777, allocations: 62.92 kB / 0.8818 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003786, allocations: 192 / 0.8818 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.003793, allocations: 384 / 0.8818 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.003798, allocations: 5.844 kB / 0.8818 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.003824, allocations: 19.92 kB / 0.8818 GB, free: 2.332 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.004063, allocations: 248.4 kB / 0.8821 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.573e-05/0.004128, allocations: 38.08 kB / 0.8821 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.004148, allocations: 11.67 kB / 0.8821 GB, free: 2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.004264, allocations: 32.08 kB / 0.8822 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.004284, allocations: 37.33 kB / 0.8822 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004285, allocations: 0 / 0.8822 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001346/0.00442, allocations: 50.27 kB / 0.8822 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.004449, allocations: 52.75 kB / 0.8823 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.004537, allocations: 184.4 kB / 0.8825 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.004548, allocations: 29.64 kB / 0.8825 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.004598, allocations: 138.9 kB / 0.8826 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.004619, allocations: 15.91 kB / 0.8826 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.004648, allocations: 23.36 kB / 0.8827 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.004783, allocations: 0.4923 MB / 0.8831 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.004797, allocations: 0 / 0.8831 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.004811, allocations: 11.92 kB / 0.8832 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.004843, allocations: 11.69 kB / 0.8832 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.004848, allocations: 4 kB / 0.8832 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.812e-05/0.004916, allocations: 41.69 kB / 0.8832 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.004928, allocations: 8 kB / 0.8832 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004933, allocations: 0 / 0.8832 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.004944, allocations: 3.938 kB / 0.8832 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.005014, allocations: 12 kB / 0.8832 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005016, allocations: 0 / 0.8832 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.005042, allocations: 7.984 kB / 0.8832 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.005048, allocations: 0 / 0.8832 GB, free: 0.7734 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.58e-05/0.005114, allocations: 160.5 kB / 0.8834 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.005132, allocations: 7.953 kB / 0.8834 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.005214, allocations: 53.67 kB / 0.8835 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005217, allocations: 3.938 kB / 0.8835 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005218, allocations: 0 / 0.8835 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00522, allocations: 8 kB / 0.8835 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.364e-05/0.005314, allocations: 105.2 kB / 0.8836 GB, free: 404 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005315, allocations: 0 / 0.8836 GB, free: 404 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.005346, allocations: 11.98 kB / 0.8836 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005347, allocations: 0 / 0.8836 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-06/0.005351, allocations: 0 / 0.8836 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005352, allocations: 0 / 0.8836 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005353, allocations: 0 / 0.8836 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.48e-05/0.005448, allocations: 208.2 kB / 0.8838 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.005456, allocations: 7.953 kB / 0.8838 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.005464, allocations: 0 / 0.8838 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.005499, allocations: 8 kB / 0.8838 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.005532, allocations: 15.92 kB / 0.8838 GB, free: 132 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005535, allocations: 0 / 0.8838 GB, free: 132 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.005589, allocations: 139.1 kB / 0.8839 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005589, allocations: 0 / 0.8839 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001485/0.005738, allocations: 15.94 kB / 0.884 GB, free: 15.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001088/0.005847, allocations: 99.23 kB / 0.884 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.005916, allocations: 19.62 kB / 0.8841 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005917, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.005941, allocations: 23.67 kB / 0.8841 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.006117, allocations: 5.562 kB / 0.8841 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.006352, allocations: 162.1 kB / 0.8842 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.006385, allocations: 59.34 kB / 0.8843 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.006404, allocations: 0 / 0.8843 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.006453, allocations: 74.2 kB / 0.8844 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.006454, allocations: 4 kB / 0.8844 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of Templates: time 0.002707/0.009161, allocations: 0.9522 MB / 0.8853 GB, free: 14.54 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.111800258979201]