Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.00108/0.00108, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009904/0.0009904, allocations: 161 kB / 24.16 MB, free: 336 kB / 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 1.001/1.001, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.984/1.984, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.909e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00279/0.002809, allocations: 1.6 MB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.00316, allocations: 113.7 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.003195, allocations: 0 / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.003243, allocations: 9.281 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.003314, allocations: 3.609 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.003502, allocations: 28.39 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.843e-05/0.0036, allocations: 50.41 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.003684, allocations: 4 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.003751, allocations: 20.97 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.003803, allocations: 18.48 kB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.003821, allocations: 5.25 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.003899, allocations: 23.97 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.003945, allocations: 15.92 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.003965, allocations: 9.25 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.004096, allocations: 59.8 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004097, allocations: 0 / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.52e-07/0.004098, allocations: 0 / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004102, allocations: 0.5938 kB / 0.762 GB, free: 4.68 MB / 0.7136 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.0003426/0.004444, allocations: 269.3 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.004479, allocations: 8.562 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.00451, allocations: 6.344 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.004616, allocations: 132.4 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.004626, allocations: 384 / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.004635, allocations: 4.375 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.004772, allocations: 66.95 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.00478, allocations: 4.125 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004788, allocations: 4.359 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.004795, allocations: 1.125 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.004825, allocations: 7.938 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.005128, allocations: 166.7 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.005201, allocations: 77.98 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.00522, allocations: 8.922 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.00534, allocations: 30.27 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.005362, allocations: 30.56 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.005364, allocations: 1.812 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000132/0.005496, allocations: 49.56 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.005524, allocations: 51.41 kB / 0.7628 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.005603, allocations: 126.7 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.005616, allocations: 29.7 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.005648, allocations: 87.39 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.00567, allocations: 15.88 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.005703, allocations: 13.72 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.005788, allocations: 318.8 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.005803, allocations: 2.828 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.005819, allocations: 7.984 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/0.005852, allocations: 11.69 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005854, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.287e-05/0.005936, allocations: 45.62 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.00595, allocations: 6.812 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.005956, allocations: 3.984 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.00597, allocations: 3.938 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.006047, allocations: 12 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.006051, allocations: 4 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.006084, allocations: 11.92 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.006094, allocations: 4 kB / 0.7635 GB, free: 2.938 MB / 0.7136 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.947e-05/0.006153, allocations: 110.1 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.006177, allocations: 4 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.006266, allocations: 53.61 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.00627, allocations: 5.5 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006271, allocations: 0 / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006275, allocations: 4 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.0064, allocations: 78.19 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.006401, allocations: 1.281 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.006445, allocations: 11.98 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006447, allocations: 0 / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.006452, allocations: 0.5938 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006454, allocations: 0 / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006455, allocations: 0.6875 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.006564, allocations: 194.2 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.006575, allocations: 8.609 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006587, allocations: 4.703 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.006651, allocations: 4 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.006684, allocations: 10.83 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.006689, allocations: 7.875 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.006715, allocations: 27.95 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006715, allocations: 0 / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002154/0.00693, allocations: 12 kB / 0.764 GB, free: 2.367 MB / 0.7136 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.0001044/0.007035, allocations: 76.42 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.007104, allocations: 19.97 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.007107, allocations: 0 / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.007132, allocations: 12.86 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.007312, allocations: 8 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.007667, allocations: 150 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.00771, allocations: 63.28 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.007736, allocations: 1.438 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.007797, allocations: 55.38 kB / 0.7644 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.007798, allocations: 1.031 kB / 0.7644 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.003264/0.01106, allocations: 0.799 MB / 0.7652 GB, free: 1.168 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.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.094632661901414]