Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001336/0.001336, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001448/0.001448, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.856/2.856, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.253e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002882/0.002914, allocations: 1.498 MB / 0.9829 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000343/0.003257, allocations: 107.5 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.003293, allocations: 0 / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.25e-05/0.003345, allocations: 3.938 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.003408, allocations: 7.922 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003619, allocations: 27.91 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.003717, allocations: 47.78 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.003816, allocations: 8 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.003891, allocations: 27.97 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.003944, allocations: 19.91 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.003965, allocations: 4 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.004039, allocations: 19.98 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.004091, allocations: 11.98 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.004122, allocations: 11.94 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004287, allocations: 63.78 kB / 0.9832 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.00429, allocations: 0 / 0.9832 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00429, allocations: 0 / 0.9832 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004294, allocations: 4 kB / 0.9832 GB, free: 10.06 MB / 0.9356 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.0005611/0.004855, allocations: 310 kB / 0.9835 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.004891, allocations: 12.03 kB / 0.9835 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.004929, allocations: 8.891 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.005046, allocations: 117.7 kB / 0.9837 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.005057, allocations: 384 / 0.9837 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.00507, allocations: 4.375 kB / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.005365, allocations: 78.2 kB / 0.9837 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005373, allocations: 192 / 0.9837 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005384, allocations: 8.359 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.005389, allocations: 384 / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.005715, allocations: 79.86 kB / 0.9838 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.006122, allocations: 228.5 kB / 0.984 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.006367, allocations: 70.47 kB / 0.9841 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.006536, allocations: 44.91 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.006735, allocations: 27.98 kB / 0.9842 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.006764, allocations: 30.56 kB / 0.9842 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006765, allocations: 0 / 0.9842 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006198/0.007385, allocations: 153.5 kB / 0.9844 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.007437, allocations: 59.39 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007556, allocations: 123.5 kB / 0.9845 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.007578, allocations: 29.7 kB / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.007643, allocations: 92.08 kB / 0.9847 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.007665, allocations: 11.95 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.007702, allocations: 9.719 kB / 0.9847 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.007867, allocations: 326.8 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.008033, allocations: 31.97 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.008192, allocations: 39.95 kB / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.008505, allocations: 72.78 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008506, allocations: 4 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000378/0.008884, allocations: 121.5 kB / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.0089, allocations: 15.81 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008905, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.008918, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.009052, allocations: 15.98 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.009057, allocations: 0 / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.655e-05/0.009143, allocations: 15.98 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.00915, allocations: 0 / 0.9853 GB, free: 7.789 MB / 0.9356 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.0001258/0.009276, allocations: 117.8 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.009309, allocations: 7.953 kB / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.009721, allocations: 121.5 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.009723, allocations: 0 / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.009727, allocations: 4 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.009732, allocations: 3.984 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.009903, allocations: 121.2 kB / 0.9856 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009904, allocations: 0 / 0.9856 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01001, allocations: 16.36 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01001, allocations: 0 / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.01002, allocations: 4 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.01002, allocations: 7.922 kB / 0.9857 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01002, allocations: 4 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.01045, allocations: 207.5 kB / 0.9859 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.01046, allocations: 7.938 kB / 0.9859 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.01048, allocations: 0 / 0.9859 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.0106, allocations: 15.92 kB / 0.9859 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.01064, allocations: 0 / 0.9859 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.01065, allocations: 4 kB / 0.9859 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.563e-05/0.01072, allocations: 106.4 kB / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01072, allocations: 0 / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002388/0.01096, allocations: 15.94 kB / 0.986 GB, free: 6.98 MB / 0.9356 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.0001602/0.01112, allocations: 103.2 kB / 0.9861 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01149, allocations: 83.91 kB / 0.9862 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0115, allocations: 0 / 0.9862 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.01167, allocations: 39.97 kB / 0.9862 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01192, allocations: 4 kB / 0.9862 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.01229, allocations: 156.7 kB / 0.9864 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.103e-05/0.01237, allocations: 71.28 kB / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.0124, allocations: 4 kB / 0.9865 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.01243, allocations: 12.48 kB / 0.9865 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.01243, allocations: 3.938 kB / 0.9865 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of Templates: time 0.003806/0.01624, allocations: 0.8375 MB / 0.9873 GB, free: 5.625 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.913096498697996]