Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.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.00171/0.00171, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.002029/0.002029, allocations: 169 kB / 24.28 MB, free: 280 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 0.9912/0.9912, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.789e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002285/0.002313, allocations: 1.491 MB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003492, allocations: 0.7818 MB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.003538, allocations: 0 / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.003573, allocations: 4 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.003626, allocations: 9.344 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.004077, allocations: 129.1 kB / 0.7895 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.004159, allocations: 36.88 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004262, allocations: 8 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.004324, allocations: 15.98 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.004377, allocations: 24.64 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.004395, allocations: 4 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.004685, allocations: 250 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.004701, allocations: 3.938 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.004727, allocations: 11.98 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.004987, allocations: 199.5 kB / 0.79 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004989, allocations: 0 / 0.79 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.91e-07/0.00499, allocations: 0 / 0.79 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.004995, allocations: 0 / 0.79 GB, free: 9.859 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004552/0.00545, allocations: 398 kB / 0.7904 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.005493, allocations: 8.031 kB / 0.7904 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.005754, allocations: 55.34 kB / 0.7904 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.005857, allocations: 120.5 kB / 0.7905 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.005873, allocations: 1.531 kB / 0.7905 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.005883, allocations: 4.312 kB / 0.7905 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.006063, allocations: 80.28 kB / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.006071, allocations: 192 / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.006082, allocations: 2.125 kB / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.006091, allocations: 3.938 kB / 0.7906 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.00614, allocations: 11.98 kB / 0.7906 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.006499, allocations: 277.2 kB / 0.7909 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.006605, allocations: 51.52 kB / 0.791 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.006637, allocations: 21.67 kB / 0.791 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.006651, allocations: 4 kB / 0.791 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.006676, allocations: 37.33 kB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.006677, allocations: 0 / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.006862, allocations: 56.22 kB / 0.7911 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.006893, allocations: 51.41 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.006983, allocations: 161.9 kB / 0.7913 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006996, allocations: 25.7 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.007046, allocations: 130.9 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.007069, allocations: 7.891 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.007102, allocations: 23.91 kB / 0.7914 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.007222, allocations: 496.8 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.007252, allocations: 7.984 kB / 0.7919 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.007271, allocations: 4.531 kB / 0.7919 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.007314, allocations: 17.34 kB / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007316, allocations: 0 / 0.792 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.197e-05/0.007398, allocations: 54.48 kB / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.007414, allocations: 11.94 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007418, allocations: 0 / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007432, allocations: 0.7812 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.007516, allocations: 13.27 kB / 0.792 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007522, allocations: 4 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.007556, allocations: 8.828 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.007561, allocations: 0 / 0.792 GB, free: 7.566 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 6.473e-05/0.007626, allocations: 157.9 kB / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.007642, allocations: 3.938 kB / 0.7922 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.007675, allocations: 19.23 kB / 0.7922 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007677, allocations: 1.25 kB / 0.7922 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.007681, allocations: 0 / 0.7922 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.007685, allocations: 0 / 0.7922 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.941e-05/0.007784, allocations: 124.6 kB / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007785, allocations: 1.812 kB / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.007824, allocations: 11.98 kB / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007826, allocations: 0 / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.007836, allocations: 6.469 kB / 0.7924 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007838, allocations: 4 kB / 0.7924 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007838, allocations: 0 / 0.7924 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.007969, allocations: 191.9 kB / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.007977, allocations: 7.953 kB / 0.7925 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.00799, allocations: 4.188 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.00804, allocations: 13.52 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.008077, allocations: 7.984 kB / 0.7926 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.008081, allocations: 0 / 0.7926 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.008118, allocations: 128.6 kB / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008118, allocations: 0 / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001605/0.008278, allocations: 15.94 kB / 0.7927 GB, free: 6.824 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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.0001284/0.008407, allocations: 107.7 kB / 0.7928 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.00851, allocations: 27.61 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008512, allocations: 0 / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.008542, allocations: 20.88 kB / 0.7929 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.008734, allocations: 5.875 kB / 0.7929 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.009058, allocations: 136 kB / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.009094, allocations: 56.08 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.009136, allocations: 12.89 kB / 0.7931 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.47e-05/0.009171, allocations: 17.52 kB / 0.7931 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.009172, allocations: 0 / 0.7931 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.002475/0.01165, allocations: 0.9049 MB / 0.794 GB, free: 5.512 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.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.096421282971278]