Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001532/0.001532, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001495/0.001495, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.962/2.962, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_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.002089/0.002089, allocations: 69.41 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4079, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003039/0.4109, allocations: 1.518 MB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.4112, allocations: 103.7 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.4113, allocations: 4 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.4113, allocations: 3.938 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.4114, allocations: 11.88 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.4116, allocations: 19.97 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4118, allocations: 47.84 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4119, allocations: 11.98 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.4119, allocations: 15.92 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.412, allocations: 23.92 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.412, allocations: 7.938 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.4121, allocations: 15.98 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.4121, allocations: 15.92 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.4122, allocations: 15.88 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.4123, allocations: 63.78 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4123, allocations: 3.938 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4123, allocations: 4 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4123, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 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.0005879/0.4129, allocations: 302 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.413, allocations: 8.031 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.413, allocations: 4.938 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4131, allocations: 126.4 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4131, allocations: 384 / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.4132, allocations: 8.375 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.4134, allocations: 74.16 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4134, allocations: 8.109 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4134, allocations: 3.938 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4135, allocations: 3.984 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.4137, allocations: 75.92 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.4142, allocations: 248 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.4144, allocations: 70.47 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.4146, allocations: 48.84 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.4148, allocations: 27.98 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4148, allocations: 38.55 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.4148, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005798/0.4154, allocations: 145.5 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4154, allocations: 55.41 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4156, allocations: 125.8 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4156, allocations: 25.7 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.4156, allocations: 88.14 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.4157, allocations: 23.89 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.4157, allocations: 9.719 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4159, allocations: 322.8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.416, allocations: 43.89 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4162, allocations: 31.97 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.4164, allocations: 84.78 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4164, allocations: 3.938 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003168/0.4167, allocations: 105.6 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4168, allocations: 10.66 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4168, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4168, allocations: 3.938 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4169, allocations: 11.98 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.4169, allocations: 7.938 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.417, allocations: 15.91 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.417, allocations: 4 kB / 1.289 GB, free: 6.973 MB / 0.9825 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 9.727e-05/0.4171, allocations: 117.8 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.4171, allocations: 3.953 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.4175, allocations: 125.6 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4175, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4175, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4175, allocations: 0 / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4177, allocations: 148.7 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4177, allocations: 384 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.427e-05/0.4178, allocations: 19.98 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4178, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4178, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4178, allocations: 3.938 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4178, allocations: 7.938 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4182, allocations: 215.3 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.4182, allocations: 11.95 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4182, allocations: 0 / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4183, allocations: 7.984 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4184, allocations: 7.984 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.4184, allocations: 0 / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.4185, allocations: 102.3 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4185, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002339/0.4187, allocations: 12 kB / 1.289 GB, free: 6.125 MB / 0.9825 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.0001613/0.4189, allocations: 99.23 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.4192, allocations: 83.86 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4192, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4194, allocations: 43.95 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.4196, allocations: 11.94 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.42, allocations: 179.2 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.4204, allocations: 0.6885 MB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.4204, allocations: 7.438 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4204, allocations: 3.938 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of Templates: time 0.002739/0.4232, allocations: 0.8982 MB / 1.291 GB, free: 4.059 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.733625356020639]