Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001248/0.001248, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001264/0.001264, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.524/1.524, allocations: 225.6 MB / 248.5 MB, free: 3.637 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 3.049/3.049, allocations: 443.5 MB / 0.7293 GB, free: 14.5 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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002912/0.3554, allocations: 1.493 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003645/0.3558, allocations: 104.6 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.3558, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.3558, allocations: 3.938 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.3559, allocations: 23.84 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3562, allocations: 19.98 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3563, allocations: 43.84 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3564, allocations: 11.98 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.3564, allocations: 15.94 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.3565, allocations: 19.91 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3565, allocations: 4 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.3566, allocations: 19.98 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.3567, allocations: 19.92 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3567, allocations: 23.8 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3569, allocations: 63.73 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3569, allocations: 0 / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.617e-06/0.3569, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3569, allocations: 0 / 1.216 GB, free: 15.05 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.0006407/0.3575, allocations: 375.2 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3575, allocations: 12.03 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.3576, allocations: 12.89 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3577, allocations: 180.2 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.3578, allocations: 4.375 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3578, allocations: 4.312 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.358, allocations: 74.22 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3581, allocations: 192 / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3581, allocations: 7.922 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3581, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.3584, allocations: 79.92 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3588, allocations: 273 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.359, allocations: 70.41 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3592, allocations: 48.91 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.3594, allocations: 109.1 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3595, allocations: 30.56 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3595, allocations: 0 / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005954/0.3601, allocations: 149.5 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3601, allocations: 55.34 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3602, allocations: 129.8 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3603, allocations: 25.7 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.3603, allocations: 96.06 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3604, allocations: 15.84 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3604, allocations: 17.72 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3605, allocations: 314.8 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3607, allocations: 35.95 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3609, allocations: 39.95 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.3612, allocations: 76.78 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3612, allocations: 3.938 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000353/0.3615, allocations: 117.5 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3615, allocations: 5.719 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3615, allocations: 3.984 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3616, allocations: 4 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3617, allocations: 15.98 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3617, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.3618, allocations: 11.98 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3618, allocations: 336 / 1.218 GB, free: 12.46 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 0.000106/0.3619, allocations: 125.7 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3619, allocations: 7.953 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.3623, allocations: 117.5 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3623, allocations: 4 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3623, allocations: 0 / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3623, allocations: 0 / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3626, allocations: 185.5 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3626, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.3627, allocations: 15.97 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3627, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3627, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3627, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3627, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.3631, allocations: 203.4 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3631, allocations: 89.06 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3631, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3633, allocations: 7.984 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.3633, allocations: 4 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3633, allocations: 7.984 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.3634, allocations: 99.14 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 3.938 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002358/0.3636, allocations: 12 kB / 1.219 GB, free: 11.48 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.0001597/0.3638, allocations: 107.2 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.3642, allocations: 79.91 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3642, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.3643, allocations: 35.97 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3646, allocations: 15.94 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.365, allocations: 186.9 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3654, allocations: 0.6846 MB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.3654, allocations: 11.44 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3654, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.002897/0.3683, allocations: 0.9097 MB / 1.221 GB, free: 9.395 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.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: 11.127364105777815]