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.0009973/0.0009973, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002672/0.003669, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009798/0.0009798, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002251, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9976/0.9976, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09943/1.097, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.874/1.874, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5025/2.377, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 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 2.144e-06/2.144e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.249e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00214/0.002162, allocations: 1.589 MB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.002347, allocations: 113.1 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.002384, allocations: 0.6875 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.002423, allocations: 7.922 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.002473, allocations: 9.562 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.178e-05/0.002565, allocations: 23.91 kB / 0.7311 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.768e-05/0.002652, allocations: 40.41 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.002736, allocations: 6.953 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.002825, allocations: 34.14 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.002878, allocations: 18.17 kB / 0.7311 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.0029, allocations: 4 kB / 0.7312 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.002981, allocations: 23.92 kB / 0.7312 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.00302, allocations: 6.406 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.003042, allocations: 10.41 kB / 0.7312 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003162, allocations: 46.09 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.003178, allocations: 1.406 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003179, allocations: 0 / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.003195, allocations: 0 / 0.7312 GB, free: 2.633 MB / 0.698 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.0003856/0.00358, allocations: 274.2 kB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.003612, allocations: 11.97 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.003638, allocations: 4.938 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.003725, allocations: 121.7 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.003734, allocations: 4.375 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.003742, allocations: 5.172 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.003871, allocations: 66.52 kB / 0.7317 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003878, allocations: 4.188 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003884, allocations: 1.5 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.003888, allocations: 384 / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.003911, allocations: 7.938 kB / 0.7317 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.004132, allocations: 166.6 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.004212, allocations: 69.83 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.00423, allocations: 12.94 kB / 0.732 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.004345, allocations: 30.33 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.004368, allocations: 34.62 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004368, allocations: 0 / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001084/0.004477, allocations: 50.06 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.004505, allocations: 52.66 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.004651, allocations: 130.6 kB / 0.7322 GB, free: 1.484 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.00466, allocations: 25.7 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.004692, allocations: 84.98 kB / 0.7323 GB, free: 1.367 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.004715, allocations: 11.84 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.004742, allocations: 26.22 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.004829, allocations: 318.8 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.00484, allocations: 4.109 kB / 0.7327 GB, free: 1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.004854, allocations: 8 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.004885, allocations: 15.67 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004887, allocations: 4.719 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.222e-05/0.004939, allocations: 41.97 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.004954, allocations: 5.531 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.004961, allocations: 48 / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004972, allocations: 7.922 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.005057, allocations: 15.98 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005061, allocations: 0.875 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.005085, allocations: 7.984 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.005091, allocations: 0.9062 kB / 0.7328 GB, free: 0.8867 MB / 0.698 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 7.226e-05/0.005163, allocations: 116.7 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.005179, allocations: 5.75 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.671e-05/0.005265, allocations: 53.61 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.005268, allocations: 3.938 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.005271, allocations: 4 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005274, allocations: 0.5 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.005366, allocations: 73.88 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.005367, allocations: 1.094 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.0054, allocations: 11.98 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.00541, allocations: 8.578 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005411, allocations: 0 / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.005415, allocations: 1.25 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005416, allocations: 0 / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.005418, allocations: 3.938 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.512e-05/0.005513, allocations: 183.4 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.005525, allocations: 0 / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.005561, allocations: 15.98 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.005594, allocations: 1.25 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.005598, allocations: 11.86 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.005619, allocations: 24.11 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.005619, allocations: 0 / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000125/0.005744, allocations: 9.031 kB / 0.7333 GB, free: 328 kB / 0.698 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.0001072/0.005851, allocations: 88.92 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.005921, allocations: 14.45 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.005926, allocations: 0 / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.005946, allocations: 20.78 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.006085, allocations: 11.98 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.006473, allocations: 155.4 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.006508, allocations: 63.88 kB / 0.7336 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.006527, allocations: 0.75 kB / 0.7336 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.006573, allocations: 56.12 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.006573, allocations: 0 / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.002319/0.008892, allocations: 0.8134 MB / 0.7345 GB, free: 15.08 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.ref.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.921184895560145]