Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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.001553/0.001553, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.002105/0.002105, allocations: 188 kB / 17.2 MB, free: 5.938 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.78 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2664, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002861/0.2693, allocations: 1.504 MB / 0.9517 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.2697, allocations: 96.58 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.2697, allocations: 4 kB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.2698, allocations: 3.938 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.2699, allocations: 11.91 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.2701, allocations: 19.92 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.2702, allocations: 43.91 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.2703, allocations: 12 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.2703, allocations: 19.92 kB / 0.9519 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.2704, allocations: 23.91 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.2704, allocations: 4 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.697e-05/0.2705, allocations: 15.98 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.2705, allocations: 23.86 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.2706, allocations: 19.86 kB / 0.952 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.2707, allocations: 55.81 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2707, allocations: 0 / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2707, allocations: 4 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2708, allocations: 0 / 0.9521 GB, free: 6.996 MB / 0.7325 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.0005405/0.2713, allocations: 383.4 kB / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2713, allocations: 8.031 kB / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.2714, allocations: 8.844 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2715, allocations: 172.3 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2715, allocations: 384 / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.2715, allocations: 384 / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.2718, allocations: 82.2 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2718, allocations: 192 / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2718, allocations: 3.938 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2719, allocations: 0 / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.2722, allocations: 79.86 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.2725, allocations: 281 kB / 0.953 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2728, allocations: 74.47 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2729, allocations: 36.92 kB / 0.9532 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.2732, allocations: 113.1 kB / 0.9533 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2732, allocations: 38.44 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.2732, allocations: 3.984 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005572/0.2738, allocations: 149.5 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2738, allocations: 59.39 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.274, allocations: 117.8 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.274, allocations: 33.7 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.274, allocations: 92.06 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2741, allocations: 11.84 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2741, allocations: 17.72 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2742, allocations: 322.8 kB / 0.9541 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2744, allocations: 31.97 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2745, allocations: 39.95 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.2748, allocations: 80.72 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2748, allocations: 3.938 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003301/0.2751, allocations: 113.5 kB / 0.9543 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2752, allocations: 8 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2752, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2752, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2753, allocations: 15.98 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2753, allocations: 4 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.2754, allocations: 7.984 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2754, allocations: 4 kB / 0.9544 GB, free: 4.402 MB / 0.7325 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.252e-05/0.2755, allocations: 121.8 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.2756, allocations: 3.906 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.2759, allocations: 121.5 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2759, allocations: 0 / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.276, allocations: 4 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.276, allocations: 3.984 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2762, allocations: 177.6 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2762, allocations: 4 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.2763, allocations: 19.97 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2763, allocations: 4 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2763, allocations: 0 / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2763, allocations: 0 / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2763, allocations: 0 / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.2767, allocations: 215.2 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.2768, allocations: 81.11 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2768, allocations: 4 kB / 0.9551 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2769, allocations: 11.98 kB / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2769, allocations: 8.406 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.277, allocations: 0 / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.613e-05/0.277, allocations: 99.02 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.553e-06/0.277, allocations: 3.938 kB / 0.9552 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002384/0.2773, allocations: 15.94 kB / 0.9552 GB, free: 3.418 MB / 0.7325 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.0001712/0.2775, allocations: 103.2 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.2779, allocations: 91.83 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2779, allocations: 0 / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.278, allocations: 43.95 kB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.2783, allocations: 18.19 kB / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.2788, allocations: 175.2 kB / 0.9556 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.279, allocations: 0.6922 MB / 0.9563 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2791, allocations: 7.438 kB / 0.9563 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.2791, allocations: 4 kB / 0.9563 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.002314/0.2814, allocations: 0.8863 MB / 0.9572 GB, free: 1.344 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches