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.0008518/0.0008518, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008436/0.0008436, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.888/0.888, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.732/1.732, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.333e-06/1.333e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.607e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001577/0.001594, allocations: 1.501 MB / 0.9837 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.001785, allocations: 103.6 kB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.001808, allocations: 0 / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.00184, allocations: 7.922 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.001881, allocations: 7.938 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.002271, allocations: 27.84 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.002329, allocations: 39.86 kB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.002395, allocations: 19.91 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.002448, allocations: 23.98 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.00248, allocations: 15.98 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.002494, allocations: 4 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.002538, allocations: 15.98 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.002577, allocations: 15.92 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.002595, allocations: 15.92 kB / 0.984 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.524e-05/0.00269, allocations: 55.86 kB / 0.984 GB, free: 220 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002692, allocations: 7.938 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002692, allocations: 0 / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002696, allocations: 0 / 0.984 GB, free: 212 kB / 0.9323 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.0002971/0.002993, allocations: 302.1 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.00302, allocations: 8.031 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.003041, allocations: 12.89 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.218e-05/0.003104, allocations: 129.5 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.00311, allocations: 384 / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003118, allocations: 4.375 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.003253, allocations: 70.22 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-06/0.003258, allocations: 192 / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.003264, allocations: 4.375 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.003267, allocations: 384 / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.003411, allocations: 79.86 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.003624, allocations: 224.6 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.003733, allocations: 70.47 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.003806, allocations: 44.91 kB / 0.9849 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.003918, allocations: 31.97 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.003933, allocations: 30.56 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.003934, allocations: 0 / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002839/0.004217, allocations: 161.4 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.004238, allocations: 51.41 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.004305, allocations: 131.7 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.004314, allocations: 25.7 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.004353, allocations: 92.14 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.00437, allocations: 11.84 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.004395, allocations: 21.7 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.00446, allocations: 318.8 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.004532, allocations: 39.95 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.004597, allocations: 31.97 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.00473, allocations: 80.77 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004731, allocations: 4 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000156/0.004887, allocations: 113.8 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.004897, allocations: 7.938 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.0049, allocations: 0 / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.004908, allocations: 0 / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.004969, allocations: 19.97 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.004972, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.005006, allocations: 15.98 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.005011, allocations: 3.984 kB / 0.9861 GB, free: 13.93 MB / 0.948 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.778e-05/0.005059, allocations: 113.8 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005072, allocations: 7.953 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.005254, allocations: 129.4 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005256, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.00526, allocations: 8 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005262, allocations: 3.938 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.005353, allocations: 121.3 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005353, allocations: 0 / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.005392, allocations: 19.97 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005393, allocations: 0 / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.005399, allocations: 4 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0054, allocations: 3.938 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005401, allocations: 0 / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.00558, allocations: 203.5 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.005586, allocations: 3.953 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.005595, allocations: 4 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.005644, allocations: 15.92 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.005671, allocations: 7.984 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005673, allocations: 0 / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.005712, allocations: 103 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005712, allocations: 4 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000144/0.005856, allocations: 11.94 kB / 0.9868 GB, free: 13.12 MB / 0.948 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.388e-05/0.005939, allocations: 103.2 kB / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.006111, allocations: 79.92 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.006112, allocations: 0 / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.006186, allocations: 43.95 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.006344, allocations: 4 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.006575, allocations: 182.5 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.507e-05/0.00662, allocations: 71.33 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.006641, allocations: 8.5 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/0.006641, allocations: 0 / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of Templates: time 0.001368/0.008009, allocations: 0.9227 MB / 0.9882 GB, free: 11.66 MB / 0.948 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: 6.553688338957727]