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.001743/0.001743, allocations: 96.2 kB / 19.7 MB, free: 2.129 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.002363/0.002363, allocations: 205.8 kB / 23 MB, free: 4.934 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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 3.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 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.002038/0.002038, allocations: 66.47 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4509, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003117/0.454, allocations: 1.494 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003605/0.4543, allocations: 103.7 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.4544, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.508e-05/0.4544, allocations: 11.94 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.4545, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.4547, allocations: 19.97 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.4548, allocations: 51.78 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.4549, allocations: 11.98 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.455, allocations: 15.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.455, allocations: 23.92 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.4551, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.4551, allocations: 11.98 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.4552, allocations: 19.98 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.4552, allocations: 19.86 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.4554, allocations: 59.73 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4554, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4554, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4554, allocations: 3.938 kB / 1.329 GB, free: 15.15 MB / 1.029 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.0006347/0.4561, allocations: 302 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.4561, allocations: 8.031 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.4562, allocations: 4.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4563, allocations: 130.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.4563, allocations: 4.312 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4563, allocations: 4.375 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.4566, allocations: 74.2 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4566, allocations: 192 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4566, allocations: 3.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4567, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.457, allocations: 75.92 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.4573, allocations: 228.6 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.4576, allocations: 66.53 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.4577, allocations: 40.86 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.458, allocations: 35.97 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.458, allocations: 30.56 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.458, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005947/0.4586, allocations: 153.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.4586, allocations: 55.41 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4588, allocations: 132.1 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4588, allocations: 25.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.4589, allocations: 92.12 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.4589, allocations: 11.91 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.4589, allocations: 21.66 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4591, allocations: 318.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4592, allocations: 31.97 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4594, allocations: 43.95 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.4597, allocations: 81.05 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4597, allocations: 3.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000338/0.46, allocations: 117.5 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.46, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.46, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.46, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4602, allocations: 15.98 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4602, allocations: 3.984 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.4603, allocations: 15.92 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4603, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 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.0001311/0.4604, allocations: 118.4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.4604, allocations: 15.89 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.4608, allocations: 117.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4608, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4608, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.4609, allocations: 15.94 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4609, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.461, allocations: 15.98 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.461, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004458/0.4615, allocations: 200.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004273/0.4619, allocations: 286.6 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001522/0.462, allocations: 43.95 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.4621, allocations: 99.27 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of Backend: time 5.81e-07/0.4621, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005573/0.4627, allocations: 118.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006661/0.4633, allocations: 0.5882 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of Templates: time 0.004258/0.4676, allocations: 1.131 MB / 1.334 GB, free: 10.07 MB / 1.029 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/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: 9.357920508999086]