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.0008027/0.0008027, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008042/0.0008042, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.855/0.855, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.883e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001722/0.00174, allocations: 1.491 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.001988, allocations: 107.5 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.002019, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.002059, allocations: 3.938 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.002117, allocations: 11.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.002313, allocations: 31.84 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.00241, allocations: 43.84 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.002499, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.002553, allocations: 23.92 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.002596, allocations: 23.95 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.002612, allocations: 4 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.002666, allocations: 19.98 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.002709, allocations: 7.938 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.002729, allocations: 11.98 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.002852, allocations: 67.78 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002854, allocations: 4 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002854, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.002858, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 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.0003587/0.003217, allocations: 298.1 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.003252, allocations: 8.75 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.003282, allocations: 8.891 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.003357, allocations: 117.7 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.003366, allocations: 384 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.003377, allocations: 12.31 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.003543, allocations: 82.2 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.00355, allocations: 192 / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.003559, allocations: 384 / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.003563, allocations: 4.375 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.003708, allocations: 71.86 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.003985, allocations: 228.6 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.00411, allocations: 74.41 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.004185, allocations: 36.92 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.004318, allocations: 35.97 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.004337, allocations: 30.56 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004338, allocations: 4 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000311/0.004649, allocations: 153.5 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.004678, allocations: 55.34 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.00476, allocations: 132.5 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.004772, allocations: 25.7 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.004814, allocations: 100.1 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.004833, allocations: 7.891 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.004858, allocations: 17.66 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.004965, allocations: 318.8 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.005039, allocations: 35.97 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.005107, allocations: 35.95 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.005248, allocations: 85.06 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.00525, allocations: 0 / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001675/0.005418, allocations: 113.5 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.005429, allocations: 7.938 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005433, allocations: 3.938 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005445, allocations: 8 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.005517, allocations: 15.98 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.005521, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.005557, allocations: 11.98 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005564, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 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 5.395e-05/0.005618, allocations: 117.8 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.005631, allocations: 7.953 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.005834, allocations: 121.5 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005836, allocations: 0 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.005839, allocations: 0 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005843, allocations: 4 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.25e-05/0.005936, allocations: 121.3 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005936, allocations: 0 / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.005977, allocations: 19.92 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005978, allocations: 0 / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.005984, allocations: 0 / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.005986, allocations: 11.88 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005987, allocations: 4 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.006174, allocations: 208.2 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.00618, allocations: 3.953 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.006192, allocations: 7.984 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.00624, allocations: 11.92 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.006273, allocations: 12 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006275, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.006316, allocations: 99.25 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006316, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000152/0.006468, allocations: 12 kB / 1.005 GB, free: 8.055 MB / 0.9636 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.599e-05/0.006564, allocations: 103.2 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.006755, allocations: 83.86 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006756, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.006828, allocations: 39.95 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.007006, allocations: 15.92 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.007267, allocations: 178.5 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.181e-05/0.007319, allocations: 71.25 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.007344, allocations: 12.5 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.007344, allocations: 7.938 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of Templates: time 0.001624/0.008968, allocations: 0.9162 MB / 1.007 GB, free: 6.582 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 6.563208873383701]