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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 194.2 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 495.8 MB / 0.783 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.003069/0.003069, allocations: 61.02 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3921, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003323/0.3954, allocations: 1.507 MB / 1.308 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.3958, allocations: 103.7 kB / 1.308 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.3959, allocations: 0 / 1.308 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.091e-05/0.3959, allocations: 3.938 kB / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.396, allocations: 3.938 kB / 1.308 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3962, allocations: 31.95 kB / 1.308 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3964, allocations: 43.84 kB / 1.308 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3965, allocations: 8 kB / 1.308 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.3965, allocations: 19.92 kB / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.3966, allocations: 19.92 kB / 1.308 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3966, allocations: 4 kB / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.3967, allocations: 19.98 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.3968, allocations: 11.92 kB / 1.308 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.3968, allocations: 31.84 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.397, allocations: 55.75 kB / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.397, allocations: 0 / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.554e-06/0.397, allocations: 7.938 kB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.397, allocations: 0 / 1.309 GB, free: 4 kB / 0.9981 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.0006883/0.3977, allocations: 306 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3977, allocations: 8.031 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3978, allocations: 12.89 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3979, allocations: 114.4 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3979, allocations: 384 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.3979, allocations: 8.375 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.3982, allocations: 74.2 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3983, allocations: 192 / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3983, allocations: 3.938 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3983, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.3986, allocations: 79.86 kB / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.399, allocations: 260 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.3993, allocations: 70.47 kB / 1.309 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3995, allocations: 44.91 kB / 1.309 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.3997, allocations: 35.97 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3997, allocations: 30.56 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3997, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006535/0.4004, allocations: 149.5 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4004, allocations: 55.41 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.4006, allocations: 129.3 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4006, allocations: 29.7 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.4007, allocations: 92.09 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4007, allocations: 15.83 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4008, allocations: 17.7 kB / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4009, allocations: 318.8 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.4011, allocations: 39.95 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.4013, allocations: 35.97 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.4016, allocations: 84.7 kB / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4016, allocations: 3.938 kB / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003894/0.402, allocations: 109.6 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.402, allocations: 8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.402, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.402, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4022, allocations: 23.97 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4022, allocations: 0 / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.4023, allocations: 11.92 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4023, allocations: 4 kB / 1.311 GB, free: 13.69 MB / 1.014 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.0001152/0.4024, allocations: 121.7 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.4025, allocations: 3.953 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.4029, allocations: 125.5 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.4029, allocations: 0 / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4029, allocations: 4 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4029, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.4031, allocations: 152.7 kB / 1.311 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4031, allocations: 4 kB / 1.311 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4032, allocations: 15.98 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4032, allocations: 0 / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.4032, allocations: 4 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4032, allocations: 4 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4032, allocations: 0 / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.4037, allocations: 211.7 kB / 1.311 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.4037, allocations: 8.031 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4037, allocations: 4 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4038, allocations: 15.97 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4039, allocations: 4 kB / 1.311 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.4039, allocations: 0 / 1.311 GB, free: 12.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.404, allocations: 95.27 kB / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.404, allocations: 0 / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002399/0.4042, allocations: 19.92 kB / 1.311 GB, free: 12.83 MB / 1.014 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.0001733/0.4044, allocations: 96.05 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.4048, allocations: 79.92 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4048, allocations: 0 / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.4049, allocations: 43.89 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.4052, allocations: 20.8 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.4056, allocations: 153.5 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4059, allocations: 0.6846 MB / 1.312 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.406, allocations: 4 kB / 1.312 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.406, allocations: 11.44 kB / 1.312 GB, free: 11.68 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.406, allocations: 0 / 1.312 GB, free: 11.68 MB / 1.014 GB Notification: Performance of Templates: time 0.003747/0.4098, allocations: 0.8092 MB / 1.313 GB, free: 10.88 MB / 1.014 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: 9.097595916129649]