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.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.001168/0.001168, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001916/0.003084, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001189/0.001189, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001852/0.003041, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9609/0.9609, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08605/1.047, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.488/2.488, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.251/2.739, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.759e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002078/0.002095, allocations: 1.593 MB / 0.8205 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.002253, allocations: 107.7 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.00228, allocations: 0 / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.002314, allocations: 3.938 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/0.002351, allocations: 11.92 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.389e-05/0.002435, allocations: 23.91 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.002502, allocations: 39.86 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.002575, allocations: 11.98 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.002653, allocations: 39.86 kB / 0.8207 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.002707, allocations: 23.95 kB / 0.8207 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.002722, allocations: 4 kB / 0.8207 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-05/0.00279, allocations: 23.92 kB / 0.8208 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.002824, allocations: 7.938 kB / 0.8208 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.00284, allocations: 11.94 kB / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.002974, allocations: 39.91 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.002985, allocations: 0 / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002985, allocations: 3.938 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.002997, allocations: 0 / 0.8208 GB, free: 0.5117 MB / 0.7917 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.0003419/0.003339, allocations: 276.4 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.00337, allocations: 8.031 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.003401, allocations: 8.922 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.003497, allocations: 125.6 kB / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.003506, allocations: 4.375 kB / 0.8212 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.003516, allocations: 384 / 0.8212 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.00365, allocations: 65.77 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.003656, allocations: 4.188 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.003662, allocations: 384 / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.003666, allocations: 384 / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.003687, allocations: 15.92 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.003882, allocations: 165.9 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.003945, allocations: 69.38 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.00396, allocations: 8.859 kB / 0.8215 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.004063, allocations: 28.08 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.004084, allocations: 38.55 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.004085, allocations: 4 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001841/0.004269, allocations: 53.55 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.004294, allocations: 51.41 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.004354, allocations: 125.1 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004363, allocations: 25.7 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.004391, allocations: 96.02 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.004409, allocations: 7.891 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.004431, allocations: 13.72 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.0045, allocations: 322.8 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.004513, allocations: 2.828 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-06/0.004523, allocations: 4 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.004548, allocations: 23.67 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00455, allocations: 0 / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.889e-05/0.004609, allocations: 45.62 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.00462, allocations: 4 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004625, allocations: 4 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.004637, allocations: 3.938 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.004707, allocations: 19.92 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.00471, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.004732, allocations: 7.953 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.004737, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 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.601e-05/0.004783, allocations: 112.7 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.004797, allocations: 7.984 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.004871, allocations: 49.95 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.004874, allocations: 3.938 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.004876, allocations: 4.047 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.004881, allocations: 7.969 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.032e-05/0.004962, allocations: 69.89 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.004963, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.004998, allocations: 11.98 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.005004, allocations: 4 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005006, allocations: 4 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.005011, allocations: 4 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.005012, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005013, allocations: 3.938 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.328e-05/0.005097, allocations: 186.2 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005107, allocations: 0 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.005142, allocations: 4 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.005172, allocations: 15.92 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005175, allocations: 3.938 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.005193, allocations: 16.84 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005193, allocations: 8 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001177/0.005311, allocations: 11.95 kB / 0.8229 GB, free: 14.17 MB / 0.8073 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 9.404e-05/0.005405, allocations: 76.42 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.005468, allocations: 16.84 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.005473, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.005502, allocations: 23.62 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.005659, allocations: 68.78 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.005995, allocations: 157.3 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.006153, allocations: 67.2 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.006173, allocations: 4 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.006218, allocations: 59.31 kB / 0.8233 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of SimCode: time 8.61e-07/0.006219, allocations: 0 / 0.8233 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of Templates: time 0.002345/0.008563, allocations: 0.8101 MB / 0.8241 GB, free: 12.83 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3087719874456525]