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.0017/0.0017, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001915, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.836/2.836, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 75.86 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.6198, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002778/0.6226, allocations: 1.493 MB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003421/0.6229, allocations: 108.5 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.623, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.623, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.6231, allocations: 11.91 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.6234, allocations: 23.98 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.6235, allocations: 47.78 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.6236, allocations: 8 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.6237, allocations: 15.98 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.6237, allocations: 19.86 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.6237, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.6238, allocations: 23.97 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.6239, allocations: 11.98 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.6239, allocations: 23.86 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.6241, allocations: 59.81 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6241, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6241, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6241, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 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.0005724/0.6247, allocations: 377.2 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6247, allocations: 8.031 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.6248, allocations: 8.844 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.6249, allocations: 176.2 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.625, allocations: 12.31 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.625, allocations: 4.375 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.6253, allocations: 78.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.6253, allocations: 192 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.6253, allocations: 3.938 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6253, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.6256, allocations: 75.92 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.6261, allocations: 281 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.6263, allocations: 74.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.6265, allocations: 44.92 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.6268, allocations: 113 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.6268, allocations: 30.56 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.6268, allocations: 3.938 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006311/0.6274, allocations: 157.4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.6275, allocations: 51.41 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.6276, allocations: 129.1 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6277, allocations: 25.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.6277, allocations: 92.12 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.6278, allocations: 11.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.6278, allocations: 13.72 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.628, allocations: 318.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.6281, allocations: 31.97 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.6283, allocations: 43.95 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.6286, allocations: 76.78 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.6286, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003525/0.629, allocations: 117.5 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.629, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.629, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.629, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.6291, allocations: 15.98 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6292, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.6293, allocations: 11.92 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6293, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 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 9.17e-05/0.6294, allocations: 122.6 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.6294, allocations: 7.906 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.6298, allocations: 117.8 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6298, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6298, allocations: 3.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6298, allocations: 3.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.63, allocations: 173.6 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.63, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.6302, allocations: 27.97 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6302, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.6302, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.6302, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6302, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.6306, allocations: 215.2 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.6307, allocations: 77.11 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.6307, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.6308, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.6308, allocations: 7.984 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.6308, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.6309, allocations: 99.27 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6309, allocations: 3.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002363/0.6312, allocations: 19.94 kB / 1.022 GB, free: 13.1 MB / 0.7794 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.000154/0.6313, allocations: 95.25 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.6317, allocations: 83.91 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.6318, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.6319, allocations: 39.97 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6322, allocations: 17.33 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.6326, allocations: 145.5 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.6329, allocations: 0.6885 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.633, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.633, allocations: 15.44 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.633, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.003481/0.6365, allocations: 0.7908 MB / 1.024 GB, free: 11.17 MB / 0.7794 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches