Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 249.3 MB / 261.8 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 182.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.0008304, allocations: 90.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.557e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.234, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8232/1.057, allocations: 131.6 MB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.058, allocations: 79.19 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003231/1.061, allocations: 1.072 MB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/1.061, allocations: 0 / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.061, allocations: 0 / 1.021 GB, free: 2.086 MB / 0.6355 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.0004439/1.061, allocations: 373.8 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.061, allocations: 8.031 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/1.061, allocations: 7.906 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.062, allocations: 175.9 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.062, allocations: 0 / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.062, allocations: 3.438 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.062, allocations: 60.94 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.062, allocations: 3.984 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.062, allocations: 0 / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.062, allocations: 0 / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/1.062, allocations: 33.98 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/1.062, allocations: 321.8 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.063, allocations: 52 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/1.063, allocations: 24.5 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.063, allocations: 103.8 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.063, allocations: 34.56 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.063, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001981/1.063, allocations: 71.77 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.063, allocations: 51.41 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.063, allocations: 118 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.063, allocations: 29.64 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/1.063, allocations: 86.95 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/1.063, allocations: 11.89 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.063, allocations: 4 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.064, allocations: 318.7 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/1.064, allocations: 19.3 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/1.064, allocations: 19.06 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/1.064, allocations: 15.48 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.064, allocations: 0 / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001111/1.064, allocations: 68.3 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.064, allocations: 8.109 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.064, allocations: 5.656 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.064, allocations: 7.984 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.064, allocations: 19.98 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.064, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/1.064, allocations: 15.98 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.064, allocations: 4 kB / 1.023 GB, free: 15.94 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/1.064, allocations: 115.3 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/1.064, allocations: 11.89 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/1.064, allocations: 84.08 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.065, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.065, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.065, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/1.065, allocations: 190.1 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.065, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/1.065, allocations: 23.98 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.065, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.065, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.065, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.065, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/1.065, allocations: 172.1 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/1.065, allocations: 81.11 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/1.065, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.065, allocations: 23.97 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/1.065, allocations: 7.688 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.065, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.105e-05/1.065, allocations: 96.02 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.065, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002092/1.066, allocations: 18.62 kB / 1.024 GB, free: 15.09 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001628/1.066, allocations: 103.2 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001198/1.066, allocations: 42.3 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.066, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/1.066, allocations: 19.06 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.066, allocations: 12.92 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/1.066, allocations: 98.95 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/1.067, allocations: 0.6965 MB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.653e-05/1.067, allocations: 3.859 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/1.067, allocations: 11.44 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/1.067, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.003145/1.07, allocations: 0.6372 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Biquadratic.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches