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.001896/0.001896, allocations: 110 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002209/0.002209, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.265/3.265, allocations: 0.4899 GB / 0.7915 GB, free: 33.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 65.22 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3684, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002721/0.3711, allocations: 1.498 MB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.3714, allocations: 111.7 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.3714, allocations: 3.938 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.3715, allocations: 3.938 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.3715, allocations: 11.92 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3717, allocations: 23.91 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.3718, allocations: 39.86 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.3719, allocations: 7.984 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.386e-05/0.372, allocations: 23.92 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.372, allocations: 15.92 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3721, allocations: 8 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.3721, allocations: 23.92 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.3722, allocations: 19.91 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.3722, allocations: 23.86 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3724, allocations: 47.81 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3724, allocations: 3.938 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3724, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3724, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 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.0005946/0.373, allocations: 387.1 kB / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.373, allocations: 11.98 kB / 1.323 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.373, allocations: 8.891 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3732, allocations: 184.3 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3732, allocations: 4.375 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3732, allocations: 4.375 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3735, allocations: 74.2 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3735, allocations: 4.125 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3735, allocations: 7.938 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3735, allocations: 0 / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.3738, allocations: 71.92 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.3742, allocations: 281 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3744, allocations: 74.47 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3746, allocations: 40.86 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.3748, allocations: 109.1 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3749, allocations: 38.56 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3749, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005914/0.3755, allocations: 145.7 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3755, allocations: 51.41 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3757, allocations: 133.8 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3757, allocations: 25.7 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.3757, allocations: 88.14 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.3758, allocations: 15.89 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.3758, allocations: 13.72 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3759, allocations: 318.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3761, allocations: 39.89 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3762, allocations: 43.89 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3765, allocations: 80.78 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3766, allocations: 3.938 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003489/0.3769, allocations: 105.6 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3769, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3769, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3769, allocations: 7.922 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3771, allocations: 11.98 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3771, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.3772, allocations: 15.92 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3772, allocations: 11.94 kB / 1.325 GB, free: 14.29 MB / 1.029 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 8.685e-05/0.3773, allocations: 113.8 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3773, allocations: 11.94 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.3777, allocations: 117.5 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3777, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3777, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3777, allocations: 4 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3779, allocations: 181.6 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3779, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.378, allocations: 19.98 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.378, allocations: 3.984 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.378, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.378, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.378, allocations: 3.938 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.3784, allocations: 211.4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.3785, allocations: 85.05 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3785, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3786, allocations: 11.98 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3787, allocations: 4 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3787, allocations: 4 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.3787, allocations: 106.9 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3787, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002352/0.379, allocations: 8 kB / 1.326 GB, free: 13.31 MB / 1.029 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.0001596/0.3791, allocations: 99.25 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.3795, allocations: 83.84 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3795, allocations: 4 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3797, allocations: 36.34 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3799, allocations: 7.938 kB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.3803, allocations: 161.2 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3806, allocations: 0.6845 MB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.3807, allocations: 8.094 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.3807, allocations: 15.36 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3807, allocations: 0 / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003589/0.3843, allocations: 0.8039 MB / 1.328 GB, free: 11.36 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.819538780953735]