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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 107.6 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 193.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 66.69 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2937, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002639/0.2964, allocations: 1.51 MB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.2967, allocations: 104.5 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.2967, allocations: 3.938 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.2968, allocations: 4 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.2969, allocations: 11.88 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.297, allocations: 19.97 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.2971, allocations: 47.84 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.2972, allocations: 8 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.2973, allocations: 15.92 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.2973, allocations: 23.91 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2974, allocations: 4 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.2974, allocations: 23.97 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.2975, allocations: 11.94 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.2975, allocations: 23.86 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2976, allocations: 55.81 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2976, allocations: 4 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2976, allocations: 0 / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2977, allocations: 0 / 1.029 GB, free: 240 kB / 0.795 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.0004894/0.2981, allocations: 371.2 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2982, allocations: 12.03 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.2982, allocations: 16.84 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2983, allocations: 172.3 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2984, allocations: 384 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.2984, allocations: 384 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2986, allocations: 82.14 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2986, allocations: 192 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2986, allocations: 3.938 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2986, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.2989, allocations: 75.92 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.2993, allocations: 281 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.2995, allocations: 74.34 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2996, allocations: 48.92 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.2998, allocations: 109.1 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2998, allocations: 30.56 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2999, allocations: 0 / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004974/0.3004, allocations: 149.5 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3004, allocations: 51.41 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.3005, allocations: 129.8 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3005, allocations: 25.7 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3006, allocations: 104.1 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.3006, allocations: 7.812 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3006, allocations: 17.72 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3007, allocations: 318.8 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3009, allocations: 31.97 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.301, allocations: 40.14 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.3012, allocations: 88.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3013, allocations: 3.938 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002897/0.3015, allocations: 109.6 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3016, allocations: 8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3016, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3016, allocations: 3.938 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3017, allocations: 11.98 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3017, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.3018, allocations: 15.98 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3018, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 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.575e-05/0.3019, allocations: 125.7 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3019, allocations: 11.91 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3023, allocations: 113.5 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3023, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3023, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3023, allocations: 3.984 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3025, allocations: 181.6 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3025, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.3026, allocations: 27.91 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3026, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3026, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3026, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3026, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.303, allocations: 215.3 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.303, allocations: 81.02 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.303, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3032, allocations: 11.98 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3032, allocations: 15.92 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3032, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.3033, allocations: 95.27 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3033, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002288/0.3035, allocations: 12 kB / 1.032 GB, free: 12.66 MB / 0.8106 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.0001279/0.3036, allocations: 106.4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.304, allocations: 79.91 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.304, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3041, allocations: 47.91 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3044, allocations: 11.92 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3047, allocations: 157.5 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3049, allocations: 0.6884 MB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.3049, allocations: 7.859 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.305, allocations: 11.44 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.305, allocations: 4 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of Templates: time 0.002991/0.308, allocations: 0.7848 MB / 1.034 GB, free: 10.71 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches