Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001739/0.001739, allocations: 110 kB / 18.93 MB, free: 2.945 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.001977/0.001977, allocations: 192.1 kB / 22.23 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.42/1.42, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 67.89 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8831, allocations: 160.8 MB / 1.218 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002837/0.886, allocations: 1.513 MB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.8863, allocations: 104.6 kB / 1.22 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8863, allocations: 3.938 kB / 1.22 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.8864, allocations: 7.922 kB / 1.22 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.8864, allocations: 7.938 kB / 1.22 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.8866, allocations: 23.91 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.8867, allocations: 43.86 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.8868, allocations: 11.98 kB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.8869, allocations: 12 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.8869, allocations: 31.83 kB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.887, allocations: 4 kB / 1.22 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.786e-05/0.887, allocations: 19.98 kB / 1.22 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.8871, allocations: 8 kB / 1.22 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.8871, allocations: 31.8 kB / 1.22 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.8873, allocations: 55.47 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8873, allocations: 0 / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8873, allocations: 0 / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.8873, allocations: 4 kB / 1.22 GB, free: 2.586 MB / 0.92 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.0005731/0.8878, allocations: 377.9 kB / 1.221 GB, free: 2.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8879, allocations: 8.031 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.8879, allocations: 8.891 kB / 1.221 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.8881, allocations: 176.3 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.8881, allocations: 4.375 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.8881, allocations: 8.359 kB / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.8884, allocations: 74.22 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8884, allocations: 4.125 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.8884, allocations: 3.938 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.8884, allocations: 0 / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.8887, allocations: 75.86 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.8891, allocations: 285 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.8893, allocations: 70.47 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.8895, allocations: 40.91 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.8897, allocations: 113.1 kB / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.8897, allocations: 34.5 kB / 1.222 GB, free: 1.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8897, allocations: 0 / 1.222 GB, free: 1.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005674/0.8903, allocations: 145.5 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.8904, allocations: 59.39 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.8905, allocations: 123.5 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.8905, allocations: 25.7 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.8905, allocations: 96.12 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.8906, allocations: 11.84 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.8906, allocations: 13.72 kB / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8907, allocations: 326.8 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.8909, allocations: 31.97 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.891, allocations: 44.02 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.8913, allocations: 88.86 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.8913, allocations: 3.938 kB / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003043/0.8916, allocations: 109.6 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.8916, allocations: 8 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8916, allocations: 0 / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8916, allocations: 0 / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.8918, allocations: 11.98 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.8918, allocations: 4 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.8919, allocations: 16.06 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.8919, allocations: 0 / 1.223 GB, free: 15.99 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.0001007/0.892, allocations: 125.6 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.892, allocations: 4 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.8924, allocations: 125.6 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8924, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8924, allocations: 3.984 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.8924, allocations: 4 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.8926, allocations: 181.5 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8926, allocations: 3.984 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.8927, allocations: 15.98 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8927, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.8927, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8927, allocations: 4 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8927, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.8931, allocations: 215.3 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.8931, allocations: 81.06 kB / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.8931, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.8932, allocations: 15.98 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.8933, allocations: 7.984 kB / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.8933, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.107e-05/0.8933, allocations: 99.27 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8933, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002259/0.8936, allocations: 8 kB / 1.223 GB, free: 15.01 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.0001511/0.8937, allocations: 107.2 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.8941, allocations: 87.86 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8941, allocations: 0 / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.8942, allocations: 39.95 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.8944, allocations: 6.594 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.8948, allocations: 152.7 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.8952, allocations: 0.6923 MB / 1.224 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.8952, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.8952, allocations: 7.438 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.8952, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.003462/0.8987, allocations: 0.8182 MB / 1.225 GB, free: 13.05 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.520299033261836]