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.001139/0.001139, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002094/0.003233, allocations: 435.8 kB / 10.33 MB, free: 368 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.001303/0.001303, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.003201, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09725/1.147, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.555/2.555, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2481/2.803, allocations: 145.9 MB / 0.817 GB, free: 4.191 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.162e-06/1.162e-06, allocations: 0 / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/1.997e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002108/0.002128, allocations: 1.589 MB / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002151/0.002343, allocations: 111.7 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.002379, allocations: 0 / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.002417, allocations: 7.922 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.002456, allocations: 3.938 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.884e-05/0.002555, allocations: 23.91 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.002631, allocations: 47.84 kB / 0.82 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.002712, allocations: 8 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.002786, allocations: 31.91 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.002828, allocations: 15.98 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.002847, allocations: 4 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.002925, allocations: 19.92 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.002964, allocations: 15.94 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.002981, allocations: 8 kB / 0.8201 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.003092, allocations: 43.83 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.003107, allocations: 0 / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.412e-06/0.003109, allocations: 0 / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.003122, allocations: 4 kB / 0.8202 GB, free: 0.9219 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.0003811/0.003503, allocations: 272.4 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.003539, allocations: 20.56 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.003567, allocations: 8.938 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.00366, allocations: 124.5 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003669, allocations: 384 / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.003676, allocations: 4.375 kB / 0.8206 GB, free: 464 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.003809, allocations: 69.75 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003816, allocations: 192 / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003823, allocations: 384 / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.003829, allocations: 4.375 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.003851, allocations: 7.938 kB / 0.8207 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.004075, allocations: 169.8 kB / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.004143, allocations: 69.31 kB / 0.8209 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.004161, allocations: 13.02 kB / 0.8209 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.004283, allocations: 27.97 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.004305, allocations: 34.56 kB / 0.821 GB, free: 16 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.004306, allocations: 0 / 0.821 GB, free: 16 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.000129/0.004435, allocations: 49.59 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.004465, allocations: 59.41 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.185e-05/0.004527, allocations: 126.6 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004536, allocations: 25.7 kB / 0.8212 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.004571, allocations: 92.03 kB / 0.8213 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.004591, allocations: 11.89 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.004617, allocations: 21.7 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.004687, allocations: 314.8 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.004699, allocations: 6.828 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.004707, allocations: 0 / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.004734, allocations: 19.67 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.004736, allocations: 0 / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.853e-05/0.004784, allocations: 49.62 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.004796, allocations: 4 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.0048, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.004809, allocations: 3.938 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.004888, allocations: 15.98 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.00489, allocations: 0 / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.004911, allocations: 7.953 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.004918, allocations: 7.984 kB / 0.8218 GB, free: 15.15 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.854e-05/0.004967, allocations: 112.6 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.004979, allocations: 8 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.005054, allocations: 53.61 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005057, allocations: 3.938 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.005058, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005061, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.005145, allocations: 77.88 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.005147, allocations: 4 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.005194, allocations: 8 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.005202, allocations: 3.984 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005204, allocations: 4 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.005208, allocations: 4 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005209, allocations: 0 / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.005211, allocations: 3.938 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.71e-05/0.005298, allocations: 186.2 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.005307, allocations: 0 / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.005344, allocations: 7.984 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.005373, allocations: 4 kB / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.005378, allocations: 3.938 kB / 0.8222 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.312e-05/0.005401, allocations: 24.83 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005401, allocations: 0 / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001181/0.005519, allocations: 11.95 kB / 0.8223 GB, free: 14.58 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 0.000101/0.00562, allocations: 86.58 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.447e-05/0.005684, allocations: 12.86 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.005691, allocations: 4 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.005711, allocations: 20.86 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.005858, allocations: 12 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.006219, allocations: 146 kB / 0.8225 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.487e-05/0.006254, allocations: 71.2 kB / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.006274, allocations: 0 / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.006321, allocations: 55.36 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.006322, allocations: 0 / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.002282/0.008604, allocations: 0.8153 MB / 0.8234 GB, free: 13.31 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.379411185160279]