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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001582/0.001582, allocations: 114.2 kB / 16.37 MB, free: 6.016 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.001762/0.001762, allocations: 192.3 kB / 17.3 MB, free: 5.613 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 68.06 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002523/0.2634, allocations: 1.487 MB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.2637, allocations: 108.6 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.2638, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.2638, allocations: 3.938 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.2639, allocations: 11.88 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2641, allocations: 23.91 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.329e-05/0.2642, allocations: 39.91 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2643, allocations: 19.98 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.2644, allocations: 15.92 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.2644, allocations: 23.91 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2644, allocations: 4 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.2645, allocations: 15.98 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.2646, allocations: 11.94 kB / 1.021 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2646, allocations: 23.86 kB / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2647, allocations: 63.73 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2647, allocations: 0 / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2647, allocations: 0 / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2648, allocations: 4 kB / 1.021 GB, free: 8.012 MB / 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.0004993/0.2653, allocations: 379.1 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2653, allocations: 12.92 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.2653, allocations: 4.844 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2655, allocations: 172.3 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.2655, allocations: 4.375 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.2655, allocations: 384 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.2657, allocations: 78.2 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.2657, allocations: 4.188 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2658, allocations: 3.938 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2658, allocations: 3.938 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.266, allocations: 75.86 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.2664, allocations: 289 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2666, allocations: 66.47 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2667, allocations: 48.91 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.2669, allocations: 105.1 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.267, allocations: 38.5 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.267, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005022/0.2675, allocations: 149.5 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.2675, allocations: 55.39 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.2676, allocations: 121.8 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2676, allocations: 25.7 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.2677, allocations: 100.1 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.2677, allocations: 7.812 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.2677, allocations: 17.72 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2678, allocations: 318.8 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.268, allocations: 35.97 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2681, allocations: 39.95 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.2684, allocations: 84.72 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2684, allocations: 3.938 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002991/0.2687, allocations: 109.6 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2687, allocations: 4 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2687, allocations: 3.938 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2688, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.2689, allocations: 15.98 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2689, allocations: 4 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.269, allocations: 11.98 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.269, allocations: 336 / 1.023 GB, free: 5.422 MB / 0.795 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.654e-05/0.2691, allocations: 122.4 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.2691, allocations: 7.906 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.2695, allocations: 125.4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2695, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2695, allocations: 3.984 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2695, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2697, allocations: 185.6 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2697, allocations: 3.984 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.2698, allocations: 15.98 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2698, allocations: 0 / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2698, allocations: 0 / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2698, allocations: 4 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2698, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.2701, allocations: 215.2 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.2702, allocations: 84.95 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2702, allocations: 0 / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2703, allocations: 19.98 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2704, allocations: 3.984 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2704, allocations: 8 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.2704, allocations: 95.27 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2704, allocations: 0 / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002305/0.2707, allocations: 8 kB / 1.024 GB, free: 4.434 MB / 0.795 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.0001592/0.2708, allocations: 99.25 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.2712, allocations: 83.91 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2712, allocations: 3.938 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.2714, allocations: 39.95 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.2716, allocations: 11.94 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.272, allocations: 153.5 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2723, allocations: 0.6846 MB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.2723, allocations: 7.938 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.2724, allocations: 7.438 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2724, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of Templates: time 0.003261/0.2756, allocations: 0.7999 MB / 1.026 GB, free: 2.492 MB / 0.795 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 -s gbode -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