Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.997/2.997, allocations: 489.7 MB / 0.7761 GB, free: 2.484 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.88 kB / 1.127 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 172 MB / 1.295 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002219/1.056, allocations: 1.492 MB / 1.296 GB, free: 37.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000266/1.056, allocations: 112.8 kB / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/1.056, allocations: 0 / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/1.056, allocations: 3.938 kB / 1.296 GB, free: 37.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/1.056, allocations: 14.12 kB / 1.296 GB, free: 37.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/1.056, allocations: 24.5 kB / 1.296 GB, free: 37.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.412e-05/1.057, allocations: 39.39 kB / 1.296 GB, free: 37.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/1.057, allocations: 14.77 kB / 1.297 GB, free: 37.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.026e-05/1.057, allocations: 12.52 kB / 1.297 GB, free: 37.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/1.057, allocations: 26.86 kB / 1.297 GB, free: 37.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/1.057, allocations: 6.375 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/1.057, allocations: 18.25 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/1.057, allocations: 9.969 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/1.057, allocations: 24.72 kB / 1.297 GB, free: 37.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/1.057, allocations: 64.5 kB / 1.297 GB, free: 37.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.057, allocations: 4 kB / 1.297 GB, free: 37.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.057, allocations: 0 / 1.297 GB, free: 37.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.879e-06/1.057, allocations: 0 / 1.297 GB, free: 37.41 MB / 1.061 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.0004819/1.058, allocations: 376 kB / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/1.058, allocations: 9.438 kB / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/1.058, allocations: 8.078 kB / 1.297 GB, free: 37.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/1.058, allocations: 182.6 kB / 1.297 GB, free: 36.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.058, allocations: 7.312 kB / 1.297 GB, free: 36.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/1.058, allocations: 4.375 kB / 1.297 GB, free: 36.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.058, allocations: 75.05 kB / 1.297 GB, free: 36.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.058, allocations: 192 / 1.297 GB, free: 36.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/1.058, allocations: 3.938 kB / 1.297 GB, free: 36.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.058, allocations: 3.984 kB / 1.297 GB, free: 36.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/1.058, allocations: 80.75 kB / 1.297 GB, free: 36.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/1.058, allocations: 284.5 kB / 1.298 GB, free: 36.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/1.059, allocations: 65.72 kB / 1.298 GB, free: 36.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/1.059, allocations: 44.78 kB / 1.298 GB, free: 36.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.059, allocations: 112.2 kB / 1.298 GB, free: 36.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/1.059, allocations: 34.5 kB / 1.298 GB, free: 36.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.059, allocations: 0 / 1.298 GB, free: 36.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005068/1.06, allocations: 153.4 kB / 1.298 GB, free: 36.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/1.06, allocations: 51.41 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/1.06, allocations: 123.7 kB / 1.298 GB, free: 36.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/1.06, allocations: 25.7 kB / 1.298 GB, free: 36.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/1.06, allocations: 94.33 kB / 1.298 GB, free: 35.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/1.06, allocations: 11.84 kB / 1.298 GB, free: 35.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/1.06, allocations: 16.56 kB / 1.298 GB, free: 35.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/1.06, allocations: 320.9 kB / 1.299 GB, free: 35.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/1.06, allocations: 36.86 kB / 1.299 GB, free: 35.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/1.06, allocations: 34.09 kB / 1.299 GB, free: 35.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/1.06, allocations: 90.44 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.06, allocations: 3.938 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002718/1.061, allocations: 102.5 kB / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.061, allocations: 5.719 kB / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.061, allocations: 3.375 kB / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.061, allocations: 0 / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.061, allocations: 22.2 kB / 1.299 GB, free: 35.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/1.061, allocations: 3.938 kB / 1.299 GB, free: 35.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/1.061, allocations: 16.7 kB / 1.299 GB, free: 35.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/1.061, allocations: 0 / 1.299 GB, free: 35.49 MB / 1.061 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.954e-05/1.061, allocations: 120.2 kB / 1.299 GB, free: 35.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/1.061, allocations: 3.188 kB / 1.299 GB, free: 35.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/1.061, allocations: 122.3 kB / 1.299 GB, free: 35.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.061, allocations: 0 / 1.299 GB, free: 35.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.061, allocations: 2.906 kB / 1.299 GB, free: 35.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/1.061, allocations: 0 / 1.299 GB, free: 35.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/1.061, allocations: 185.1 kB / 1.299 GB, free: 35.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.061, allocations: 0 / 1.299 GB, free: 35.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.928e-05/1.061, allocations: 14.69 kB / 1.299 GB, free: 35.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.061, allocations: 4 kB / 1.299 GB, free: 35.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.061, allocations: 15.22 kB / 1.299 GB, free: 35.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.061, allocations: 0 / 1.299 GB, free: 35.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.061, allocations: 384 / 1.299 GB, free: 35.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/1.062, allocations: 216.8 kB / 1.3 GB, free: 34.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/1.062, allocations: 88.22 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/1.062, allocations: 0 / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.062, allocations: 9.219 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/1.062, allocations: 6.422 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.062, allocations: 0 / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.732e-05/1.062, allocations: 100.9 kB / 1.3 GB, free: 34.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 1.3 GB, free: 34.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002262/1.062, allocations: 12.12 kB / 1.3 GB, free: 34.75 MB / 1.061 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.00011/1.062, allocations: 105 kB / 1.3 GB, free: 34.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003231/1.063, allocations: 78.3 kB / 1.3 GB, free: 34.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.063, allocations: 3.938 kB / 1.3 GB, free: 34.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/1.063, allocations: 41.58 kB / 1.3 GB, free: 34.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/1.063, allocations: 14.81 kB / 1.3 GB, free: 34.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/1.063, allocations: 178.5 kB / 1.3 GB, free: 34.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/1.063, allocations: 0.6852 MB / 1.301 GB, free: 33.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/1.063, allocations: 10.06 kB / 1.301 GB, free: 33.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/1.063, allocations: 0 / 1.301 GB, free: 33.77 MB / 1.061 GB Notification: Performance of Templates: time 0.002175/1.066, allocations: 0.8974 MB / 1.302 GB, free: 33.7 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches