Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002827/0.002827, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.432/3.432, allocations: 429.4 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0.9844 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.895e-05, allocations: 4.562 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002777/0.002806, allocations: 1.526 MB / 0.8789 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.003111, allocations: 100.8 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.003138, allocations: 0 / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.611e-05/0.003194, allocations: 5.188 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.003255, allocations: 10.89 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.003445, allocations: 25.56 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.003534, allocations: 43.84 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.003609, allocations: 8 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.003681, allocations: 23.97 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.003733, allocations: 24.41 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.003752, allocations: 4 kB / 0.8792 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.519e-05/0.003817, allocations: 17.67 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.003858, allocations: 8 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.003887, allocations: 15.92 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.004036, allocations: 67.78 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004038, allocations: 0.5 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004038, allocations: 1.344 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.004042, allocations: 0 / 0.8793 GB, free: 4.809 MB / 0.8386 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.0005748/0.004616, allocations: 396 kB / 0.8797 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.004653, allocations: 8.531 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.004699, allocations: 8.891 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.004833, allocations: 121.1 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.004848, allocations: 5.031 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004862, allocations: 4.375 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.005047, allocations: 55.83 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.005057, allocations: 4.172 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005066, allocations: 384 / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005072, allocations: 4.375 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.005264, allocations: 45.66 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.005672, allocations: 279.7 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.005831, allocations: 53.84 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.005935, allocations: 31.77 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.006314, allocations: 27.97 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.006351, allocations: 38.11 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.006352, allocations: 0 / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004048/0.006757, allocations: 106.8 kB / 0.8804 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.006799, allocations: 51.41 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.006966, allocations: 201.5 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.006986, allocations: 25.7 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.007076, allocations: 138.9 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.007111, allocations: 15.89 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.007154, allocations: 19.38 kB / 0.8808 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002624/0.007416, allocations: 0.4923 MB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.007511, allocations: 19.98 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.007597, allocations: 27.91 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.00777, allocations: 51.66 kB / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007771, allocations: 0 / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002222/0.007993, allocations: 77.61 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.008014, allocations: 11.94 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008018, allocations: 0 / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.008029, allocations: 0 / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.008129, allocations: 11.98 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.008136, allocations: 4 kB / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.008189, allocations: 11.98 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008196, allocations: 0 / 0.8815 GB, free: 2.301 MB / 0.8386 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 0.0001184/0.008314, allocations: 160.6 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.008344, allocations: 7.953 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.008607, allocations: 85.53 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.00861, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.008612, allocations: 4 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.008614, allocations: 0 / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.008797, allocations: 141 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008798, allocations: 4 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.008863, allocations: 8 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.008865, allocations: 0 / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.008875, allocations: 3.984 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.008878, allocations: 3.938 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008879, allocations: 0 / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.009209, allocations: 227.9 kB / 0.8821 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.009223, allocations: 7.938 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.009237, allocations: 4 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.009318, allocations: 15.94 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.00936, allocations: 7.922 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.009365, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001001/0.009465, allocations: 143.2 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.009465, allocations: 0 / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002176/0.009682, allocations: 11.94 kB / 0.8823 GB, free: 1.41 MB / 0.8386 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.0001394/0.009822, allocations: 95.25 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.01008, allocations: 55.64 kB / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01008, allocations: 7.938 kB / 0.8825 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01019, allocations: 31.67 kB / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01042, allocations: 11.94 kB / 0.8825 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.01077, allocations: 158 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.638e-05/0.01086, allocations: 71.33 kB / 0.8827 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.01089, allocations: 0 / 0.8827 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.01093, allocations: 20.5 kB / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.01093, allocations: 0 / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of Templates: time 0.003735/0.01467, allocations: 0.8476 MB / 0.8836 GB, free: 60 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.528785565053113]