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.001896/0.001896, allocations: 114.8 kB / 17.13 MB, free: 5.938 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.002041/0.002041, allocations: 197.2 kB / 20.08 MB, free: 3 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.54/1.54, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001961/0.001961, allocations: 71.88 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3158, allocations: 160.7 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002721/0.3185, allocations: 1.481 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.3188, allocations: 104.5 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.3188, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.3189, allocations: 11.92 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.3189, allocations: 11.92 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3191, allocations: 23.97 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.797e-05/0.3192, allocations: 43.86 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.3193, allocations: 7.984 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.3193, allocations: 15.94 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.3194, allocations: 23.91 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3194, allocations: 4 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.3195, allocations: 19.98 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.3195, allocations: 19.91 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.3196, allocations: 23.88 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3197, allocations: 55.73 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3197, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3197, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3197, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 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.0005804/0.3203, allocations: 379.2 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3203, allocations: 8.031 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3203, allocations: 12.88 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3205, allocations: 188.2 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3205, allocations: 4.375 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.3205, allocations: 384 / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.3208, allocations: 74.16 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3208, allocations: 192 / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3208, allocations: 7.938 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3208, allocations: 4 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.3211, allocations: 75.91 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.3215, allocations: 284.9 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3217, allocations: 66.47 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3219, allocations: 44.91 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.3221, allocations: 109.1 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3222, allocations: 30.56 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3222, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005885/0.3228, allocations: 153.5 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3228, allocations: 55.41 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3229, allocations: 124.7 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3229, allocations: 33.7 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.323, allocations: 84.14 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.323, allocations: 19.91 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.3231, allocations: 13.7 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3232, allocations: 322.8 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3234, allocations: 39.95 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3235, allocations: 35.97 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.3238, allocations: 80.77 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3238, allocations: 3.938 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003567/0.3242, allocations: 113.5 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3242, allocations: 8 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3242, allocations: 4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3242, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3243, allocations: 19.97 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3243, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.3244, allocations: 11.92 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3244, allocations: 4 kB / 1.218 GB, free: 12.41 MB / 0.9669 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 8.723e-05/0.3245, allocations: 117.8 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3245, allocations: 7.953 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.3249, allocations: 125.8 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3249, allocations: 8.031 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3249, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3249, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3251, allocations: 177.6 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3251, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3252, allocations: 19.98 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3252, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3252, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3252, allocations: 3.938 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3253, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.3257, allocations: 207.4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.3257, allocations: 81.06 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3257, allocations: 7.984 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3258, allocations: 11.98 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3259, allocations: 7.938 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3259, allocations: 0 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.326, allocations: 99.27 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002335/0.3262, allocations: 19.98 kB / 1.219 GB, free: 11.43 MB / 0.9669 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.0001373/0.3263, allocations: 99.19 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.3267, allocations: 75.92 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3267, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3269, allocations: 47.95 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3271, allocations: 7.938 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.3275, allocations: 183 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3278, allocations: 0.6885 MB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3278, allocations: 7.438 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3278, allocations: 0 / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.002634/0.3305, allocations: 0.9023 MB / 1.221 GB, free: 9.359 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.884872257942334]