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.001768/0.001768, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002024/0.002024, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.876/2.876, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 67.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8434, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002124/0.8455, allocations: 1.504 MB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000305/0.8458, allocations: 101.7 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.8458, allocations: 2.281 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.8459, allocations: 3.938 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.8459, allocations: 14.8 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.8461, allocations: 20.02 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.8462, allocations: 43 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.8463, allocations: 22.09 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.8463, allocations: 19.89 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.8463, allocations: 16.5 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.8464, allocations: 2.594 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.087e-05/0.8464, allocations: 18.59 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.8465, allocations: 14.08 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.8465, allocations: 21.19 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.8466, allocations: 59.98 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.8466, allocations: 0 / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8466, allocations: 0 / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.8466, allocations: 0 / 1.156 GB, free: 32.12 MB / 1.076 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.0004373/0.847, allocations: 304.3 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.8471, allocations: 10.5 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.8471, allocations: 6.859 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.8472, allocations: 123.6 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.8472, allocations: 384 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.8472, allocations: 7 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.8474, allocations: 75.48 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8475, allocations: 4.188 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.8475, allocations: 3.938 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8475, allocations: 2.562 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.8478, allocations: 73.84 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.848, allocations: 218.7 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.8482, allocations: 73.28 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.8484, allocations: 47.2 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.8485, allocations: 32.23 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.8485, allocations: 30.56 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8485, allocations: 0 / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005348/0.8491, allocations: 157.7 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.8491, allocations: 51.41 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.8492, allocations: 127.5 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.8492, allocations: 25.7 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.8492, allocations: 94.95 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.8492, allocations: 21.88 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.8492, allocations: 12.53 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.8493, allocations: 324.9 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.8494, allocations: 34.16 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.8496, allocations: 37.03 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.8498, allocations: 79.09 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8498, allocations: 4 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003017/0.8501, allocations: 114.7 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.8501, allocations: 5.938 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8502, allocations: 3.938 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8502, allocations: 0 / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.8503, allocations: 16.53 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8503, allocations: 4 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.8504, allocations: 15.31 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.8504, allocations: 0 / 1.158 GB, free: 30.53 MB / 1.076 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 4.485e-05/0.8504, allocations: 115.8 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.8504, allocations: 10.7 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.8508, allocations: 115.8 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.8508, allocations: 4 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8508, allocations: 0 / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8508, allocations: 0 / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.8509, allocations: 123 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8509, allocations: 4 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.851, allocations: 24.92 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.851, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.851, allocations: 2.375 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.851, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.851, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.8513, allocations: 209 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.8513, allocations: 10.61 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.8514, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8515, allocations: 19.03 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.8515, allocations: 0 / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.8515, allocations: 6.609 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.8515, allocations: 97.86 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8515, allocations: 4 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002356/0.8518, allocations: 16.75 kB / 1.158 GB, free: 29.95 MB / 1.076 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.0001017/0.8519, allocations: 100.9 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.8522, allocations: 80.27 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8522, allocations: 0 / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.8524, allocations: 45.61 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.8526, allocations: 10.17 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.8529, allocations: 159 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.8529, allocations: 73.34 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.8529, allocations: 6.156 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.853, allocations: 8.5 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.853, allocations: 7.938 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of Templates: time 0.003217/0.8562, allocations: 0.8242 MB / 1.16 GB, free: 29.5 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.552693019038998]