Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_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.001072/0.001077, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001003/0.001003, allocations: 183 kB / 17.34 MB, free: 5.766 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8343/0.8356, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002494/0.8381, allocations: 1.49 MB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.8384, allocations: 103 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.8385, allocations: 8 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.8385, allocations: 3.938 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.8386, allocations: 15.84 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.8388, allocations: 15.98 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.8389, allocations: 47.84 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.839, allocations: 8 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.8391, allocations: 15.92 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.8391, allocations: 27.91 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.8392, allocations: 4 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.8392, allocations: 19.98 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.8393, allocations: 11.92 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.8393, allocations: 27.86 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.8394, allocations: 55.81 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8395, allocations: 0 / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8395, allocations: 0 / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8395, allocations: 0 / 1.169 GB, free: 2.188 MB / 0.8887 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.0005349/0.84, allocations: 377.1 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8401, allocations: 8.625 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.8401, allocations: 12.84 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8402, allocations: 176.2 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.8402, allocations: 384 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.8403, allocations: 384 / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.8405, allocations: 78.16 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8405, allocations: 4.188 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.8405, allocations: 3.938 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.8405, allocations: 0 / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.8408, allocations: 71.92 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.8412, allocations: 284.9 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.8414, allocations: 78.41 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.8416, allocations: 44.91 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.8418, allocations: 109 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.8418, allocations: 38.55 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.8418, allocations: 0 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005173/0.8423, allocations: 145.5 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8424, allocations: 51.41 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.8425, allocations: 135.3 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.8425, allocations: 25.7 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.8426, allocations: 103.9 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8426, allocations: 3.906 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.8426, allocations: 17.72 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8428, allocations: 318.8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.8429, allocations: 43.95 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.843, allocations: 32.16 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.8433, allocations: 80.86 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8433, allocations: 3.938 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/0.8436, allocations: 117.5 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8437, allocations: 8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8437, allocations: 3.984 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8437, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.8438, allocations: 15.92 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8438, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.8439, allocations: 15.91 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.8439, allocations: 8 kB / 1.171 GB, free: 15.57 MB / 0.9044 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.473e-05/0.844, allocations: 113.8 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.844, allocations: 4 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.8444, allocations: 117.5 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8444, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8444, allocations: 4 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8444, allocations: 4 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.8446, allocations: 181.6 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8446, allocations: 4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.8447, allocations: 19.92 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8447, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.8447, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8447, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8447, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.8451, allocations: 215.3 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.8452, allocations: 81.02 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.8452, allocations: 0 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.8453, allocations: 15.92 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.8453, allocations: 11.98 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.8453, allocations: 4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.8454, allocations: 96.02 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.8454, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002198/0.8456, allocations: 8 kB / 1.172 GB, free: 14.61 MB / 0.9044 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.0001403/0.8458, allocations: 107.2 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.8461, allocations: 83.86 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8461, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.8463, allocations: 39.95 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.8465, allocations: 14.38 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.8469, allocations: 171.2 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8471, allocations: 0.6963 MB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.8472, allocations: 7.438 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of SimCode: time 1.954e-06/0.8472, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.002213/0.8494, allocations: 0.896 MB / 1.174 GB, free: 12.54 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches