Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001131/0.001131, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001227/0.001227, allocations: 161 kB / 24.16 MB, free: 336 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.9911/0.9911, allocations: 177.1 MB / 204.6 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.219e-05, allocations: 4.938 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001754/0.001766, allocations: 1.548 MB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.002044, allocations: 113.2 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.002073, allocations: 0 / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.002118, allocations: 5.625 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.085e-05/0.002179, allocations: 16.3 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.002351, allocations: 15.97 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.002423, allocations: 49.16 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.002492, allocations: 4 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.002558, allocations: 26.92 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.002607, allocations: 17.3 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.002621, allocations: 4 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.002672, allocations: 22.39 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.002714, allocations: 17.77 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.002733, allocations: 14.3 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002835, allocations: 49.12 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002837, allocations: 0 / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002838, allocations: 1.219 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002841, allocations: 0 / 0.7619 GB, free: 4.781 MB / 0.7136 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.0002831/0.003124, allocations: 269.4 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.00315, allocations: 8.031 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.003173, allocations: 10.05 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.003248, allocations: 120.4 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.003257, allocations: 4.375 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.003269, allocations: 4.938 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.003371, allocations: 63.02 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.003378, allocations: 4.125 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.003385, allocations: 4.375 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.00339, allocations: 1.625 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.003411, allocations: 11.94 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.003602, allocations: 169.9 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.003825, allocations: 74.33 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.003841, allocations: 8.859 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.003945, allocations: 30.11 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.003963, allocations: 30.56 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.003964, allocations: 0 / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.946e-05/0.004063, allocations: 50.84 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.004091, allocations: 51.41 kB / 0.7627 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.004152, allocations: 130.7 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.004161, allocations: 30.14 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.00419, allocations: 88.88 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.004205, allocations: 11.91 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.004228, allocations: 18.45 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.004295, allocations: 314.8 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.004306, allocations: 11.53 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.004316, allocations: 4 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.004338, allocations: 21.08 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.004341, allocations: 3.984 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.092e-05/0.004382, allocations: 37.69 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004392, allocations: 8 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.004396, allocations: 1.25 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.004407, allocations: 3.938 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.004464, allocations: 8 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.004467, allocations: 1.031 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.004489, allocations: 11.92 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-06/0.004493, allocations: 0.9375 kB / 0.7634 GB, free: 3.043 MB / 0.7136 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 4.611e-05/0.00454, allocations: 112.7 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.004553, allocations: 4.859 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.004618, allocations: 49.66 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004621, allocations: 10.78 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004622, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004624, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.004707, allocations: 77.88 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.004708, allocations: 0 / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.004736, allocations: 11.98 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004737, allocations: 0 / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.004741, allocations: 3.031 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.004743, allocations: 4 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004743, allocations: 0 / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.944e-05/0.004823, allocations: 190.2 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.004831, allocations: 7.938 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.00484, allocations: 0 / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.004872, allocations: 8 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.0049, allocations: 7.984 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.004903, allocations: 5.438 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.004919, allocations: 24.78 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004919, allocations: 0 / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001211/0.00504, allocations: 11.94 kB / 0.7639 GB, free: 2.473 MB / 0.7136 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 8.816e-05/0.005128, allocations: 86.12 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.00519, allocations: 24.78 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.005192, allocations: 0 / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.005208, allocations: 8.859 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.005337, allocations: 10.44 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.005576, allocations: 146.1 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.005609, allocations: 63.28 kB / 0.7642 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.005627, allocations: 2.438 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.005682, allocations: 55.38 kB / 0.7643 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.005682, allocations: 0 / 0.7643 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of Templates: time 0.002174/0.007856, allocations: 0.7903 MB / 0.7651 GB, free: 1.277 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.842524386942387]