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.001191/0.001192, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001178/0.001178, allocations: 190 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.502/2.502, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 59.34 kB / 0.8699 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2655, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002751/0.2682, allocations: 1.494 MB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002871/0.2686, allocations: 100.6 kB / 1.02 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.2686, allocations: 4 kB / 1.02 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.2687, allocations: 7.922 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.2687, allocations: 7.938 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2689, allocations: 19.97 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.269, allocations: 43.8 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.2691, allocations: 19.97 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.2692, allocations: 11.94 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.2692, allocations: 23.91 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2693, allocations: 8 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.2693, allocations: 15.98 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.2694, allocations: 11.98 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.2694, allocations: 19.88 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2695, allocations: 59.8 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2696, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2696, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2696, allocations: 0 / 1.02 GB, free: 8.848 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.0005343/0.2701, allocations: 387.4 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2702, allocations: 12.92 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2702, allocations: 4.844 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2703, allocations: 177 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2703, allocations: 4.375 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2704, allocations: 384 / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.2706, allocations: 70.22 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2706, allocations: 192 / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2707, allocations: 11.94 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2707, allocations: 0 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.271, allocations: 83.84 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.2714, allocations: 276.9 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.2716, allocations: 70.47 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2718, allocations: 48.91 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.272, allocations: 101.1 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.272, allocations: 42.55 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.272, allocations: 0 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005596/0.2726, allocations: 153.4 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.2726, allocations: 55.41 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2728, allocations: 128.8 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2728, allocations: 25.7 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.2728, allocations: 96.08 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2729, allocations: 7.812 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.2729, allocations: 21.7 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.273, allocations: 310.8 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2732, allocations: 47.95 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2733, allocations: 31.97 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2736, allocations: 76.78 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2736, allocations: 3.938 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003405/0.274, allocations: 117.9 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.274, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.274, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.274, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2741, allocations: 15.98 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2742, allocations: 3.984 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.2742, allocations: 11.98 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2743, allocations: 4 kB / 1.022 GB, free: 6.25 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.637e-05/0.2743, allocations: 120.2 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2744, allocations: 11.89 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.2748, allocations: 121.4 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2748, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2748, allocations: 4 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2748, allocations: 0 / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.275, allocations: 189.6 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.275, allocations: 4 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.2751, allocations: 11.98 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2751, allocations: 7.938 kB / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2751, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2751, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2751, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.2755, allocations: 211.3 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2755, allocations: 85.02 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2756, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2757, allocations: 15.97 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.2757, allocations: 7.938 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2757, allocations: 4 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.2758, allocations: 103.3 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2758, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002327/0.276, allocations: 8 kB / 1.023 GB, free: 5.262 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.0001278/0.2762, allocations: 107.2 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.2765, allocations: 79.92 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2766, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2767, allocations: 47.89 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.277, allocations: 7.938 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.2773, allocations: 175.2 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2776, allocations: 0.6885 MB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.2776, allocations: 11.44 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2776, allocations: 0 / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of Templates: time 0.00218/0.2798, allocations: 0.8941 MB / 1.025 GB, free: 3.195 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 -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