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.001627/0.001627, allocations: 105.1 kB / 15.98 MB, free: 5.891 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.001938/0.001938, allocations: 189.6 kB / 16.91 MB, free: 5.746 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.413/2.413, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.66 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2719, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002951/0.2749, allocations: 1.558 MB / 0.9513 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.2752, allocations: 104.6 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.2753, allocations: 0 / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.072e-05/0.2753, allocations: 3.984 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.2754, allocations: 7.938 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2756, allocations: 19.97 kB / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.2757, allocations: 43.86 kB / 0.9515 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2759, allocations: 11.98 kB / 0.9515 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.2759, allocations: 19.92 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.276, allocations: 15.92 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.276, allocations: 4 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.2761, allocations: 19.98 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.2761, allocations: 15.92 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.2762, allocations: 27.86 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2763, allocations: 39.94 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2763, allocations: 0 / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2763, allocations: 0 / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2763, allocations: 0 / 0.9516 GB, free: 7.332 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.0005337/0.2769, allocations: 379.4 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2769, allocations: 15.97 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.277, allocations: 4.844 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2771, allocations: 172.3 kB / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2771, allocations: 12.31 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2771, allocations: 4.312 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.2774, allocations: 74.2 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2774, allocations: 192 / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2775, allocations: 7.938 kB / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2775, allocations: 0 / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.2778, allocations: 75.92 kB / 0.9523 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.2782, allocations: 281 kB / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.2784, allocations: 74.41 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2786, allocations: 40.92 kB / 0.9527 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.2789, allocations: 109.1 kB / 0.9528 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2789, allocations: 34.56 kB / 0.9528 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2789, allocations: 4 kB / 0.9528 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005449/0.2795, allocations: 149.4 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.2795, allocations: 51.41 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2796, allocations: 125.8 kB / 0.9531 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2797, allocations: 25.7 kB / 0.9532 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.2797, allocations: 108 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2797, allocations: 3.906 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.2798, allocations: 13.72 kB / 0.9533 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2799, allocations: 318.8 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2801, allocations: 35.97 kB / 0.9536 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.2802, allocations: 43.95 kB / 0.9537 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.2805, allocations: 81.06 kB / 0.9537 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2805, allocations: 3.938 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003407/0.2809, allocations: 117.4 kB / 0.9539 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2809, allocations: 10.19 kB / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2809, allocations: 0 / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2809, allocations: 0 / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2811, allocations: 19.98 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2811, allocations: 0 / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.2812, allocations: 11.98 kB / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2812, allocations: 0 / 0.9539 GB, free: 4.73 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.384e-05/0.2813, allocations: 125.8 kB / 0.954 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2813, allocations: 7.906 kB / 0.954 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.2817, allocations: 113.5 kB / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2817, allocations: 0 / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2817, allocations: 7.875 kB / 0.9541 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2817, allocations: 0 / 0.9541 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2819, allocations: 185.5 kB / 0.9543 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2819, allocations: 4 kB / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.282, allocations: 19.97 kB / 0.9543 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.282, allocations: 0 / 0.9543 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.282, allocations: 4 kB / 0.9544 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2821, allocations: 0 / 0.9544 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2821, allocations: 0 / 0.9544 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.2824, allocations: 211.3 kB / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.2825, allocations: 81.11 kB / 0.9546 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2825, allocations: 0 / 0.9546 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2826, allocations: 11.98 kB / 0.9546 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2827, allocations: 3.984 kB / 0.9546 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2827, allocations: 4 kB / 0.9546 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.373e-05/0.2828, allocations: 103 kB / 0.9547 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2828, allocations: 7.938 kB / 0.9548 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002328/0.283, allocations: 8 kB / 0.9548 GB, free: 3.746 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.0001302/0.2831, allocations: 95.25 kB / 0.9549 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.2835, allocations: 83.91 kB / 0.9549 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2835, allocations: 0 / 0.9549 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2837, allocations: 39.97 kB / 0.955 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2839, allocations: 25.94 kB / 0.955 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.2843, allocations: 191.2 kB / 0.9552 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2846, allocations: 0.6961 MB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.2846, allocations: 11.44 kB / 0.9559 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2846, allocations: 0 / 0.9559 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of Templates: time 0.002326/0.287, allocations: 0.8871 MB / 0.9567 GB, free: 1.664 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