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.001363/0.001363, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001588/0.001588, allocations: 160.9 kB / 24.86 MB, free: 8.891 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.967/0.967, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.773/1.773, allocations: 359 MB / 0.6063 GB, free: 10.89 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.413e-06/1.413e-06, allocations: 0 / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.922e-05, allocations: 6.484 kB / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00183/0.001849, allocations: 1.501 MB / 0.7898 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.002838, allocations: 0.765 MB / 0.7905 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.002875, allocations: 0 / 0.7905 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.002902, allocations: 8.844 kB / 0.7905 GB, free: 8.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.002944, allocations: 7.922 kB / 0.7905 GB, free: 8.828 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.003291, allocations: 134 kB / 0.7907 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.003341, allocations: 28.48 kB / 0.7907 GB, free: 8.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.003403, allocations: 4.688 kB / 0.7907 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.003449, allocations: 23.97 kB / 0.7907 GB, free: 8.645 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.003487, allocations: 16.88 kB / 0.7907 GB, free: 8.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.0035, allocations: 7.938 kB / 0.7907 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.003749, allocations: 248.1 kB / 0.791 GB, free: 8.379 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.003764, allocations: 11.92 kB / 0.791 GB, free: 8.367 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.003781, allocations: 9.656 kB / 0.791 GB, free: 8.359 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.003989, allocations: 199.5 kB / 0.7912 GB, free: 8.164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003991, allocations: 0 / 0.7912 GB, free: 8.164 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.2e-07/0.003991, allocations: 0 / 0.7912 GB, free: 8.164 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.003995, allocations: 4 kB / 0.7912 GB, free: 8.16 MB / 0.698 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.0002941/0.004289, allocations: 397.2 kB / 0.7916 GB, free: 7.738 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.004316, allocations: 12.03 kB / 0.7916 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.004521, allocations: 49.94 kB / 0.7916 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.142e-05/0.004583, allocations: 112.6 kB / 0.7917 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.004592, allocations: 384 / 0.7917 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.004601, allocations: 8.359 kB / 0.7917 GB, free: 7.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004727, allocations: 78.84 kB / 0.7918 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-06/0.004732, allocations: 4.125 kB / 0.7918 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004738, allocations: 0.9062 kB / 0.7918 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004743, allocations: 4.531 kB / 0.7918 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.004775, allocations: 8.719 kB / 0.7918 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.005014, allocations: 257.6 kB / 0.7921 GB, free: 7.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.005096, allocations: 48.75 kB / 0.7921 GB, free: 7.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.005116, allocations: 19.75 kB / 0.7922 GB, free: 7.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.005126, allocations: 4.906 kB / 0.7922 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.005141, allocations: 33.39 kB / 0.7922 GB, free: 7.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005142, allocations: 0 / 0.7922 GB, free: 7.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.005261, allocations: 51.19 kB / 0.7922 GB, free: 6.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.005282, allocations: 51.41 kB / 0.7923 GB, free: 6.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.005342, allocations: 165.9 kB / 0.7924 GB, free: 6.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.005352, allocations: 26.55 kB / 0.7925 GB, free: 6.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.00539, allocations: 134.9 kB / 0.7926 GB, free: 6.566 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.005405, allocations: 12.97 kB / 0.7926 GB, free: 6.555 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.005433, allocations: 19.38 kB / 0.7926 GB, free: 6.527 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.005538, allocations: 496.1 kB / 0.7931 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.005555, allocations: 6.219 kB / 0.7931 GB, free: 6.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.005569, allocations: 7.938 kB / 0.7931 GB, free: 6.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.005599, allocations: 15.69 kB / 0.7931 GB, free: 6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.0056, allocations: 0 / 0.7931 GB, free: 6 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.13e-05/0.005661, allocations: 44.47 kB / 0.7932 GB, free: 5.953 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.005673, allocations: 8 kB / 0.7932 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005677, allocations: 3.938 kB / 0.7932 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.005684, allocations: 0 / 0.7932 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.005748, allocations: 11.98 kB / 0.7932 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.00575, allocations: 1.594 kB / 0.7932 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.005785, allocations: 11.98 kB / 0.7932 GB, free: 5.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.00579, allocations: 0 / 0.7932 GB, free: 5.918 MB / 0.698 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 5.495e-05/0.005844, allocations: 161.1 kB / 0.7934 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.005863, allocations: 4.516 kB / 0.7934 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.005888, allocations: 15.23 kB / 0.7934 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005889, allocations: 4.5 kB / 0.7934 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005891, allocations: 4.531 kB / 0.7934 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005894, allocations: 0 / 0.7934 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.085e-05/0.005984, allocations: 102.6 kB / 0.7935 GB, free: 5.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.005985, allocations: 0 / 0.7935 GB, free: 5.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.006025, allocations: 16.7 kB / 0.7935 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006026, allocations: 0 / 0.7935 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.006031, allocations: 1.875 kB / 0.7935 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006032, allocations: 0 / 0.7935 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.006034, allocations: 3.938 kB / 0.7935 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.006142, allocations: 191.9 kB / 0.7937 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.006148, allocations: 4.578 kB / 0.7937 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006157, allocations: 3.938 kB / 0.7937 GB, free: 5.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.006211, allocations: 12.67 kB / 0.7937 GB, free: 5.352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.006239, allocations: 8.984 kB / 0.7937 GB, free: 5.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006243, allocations: 4 kB / 0.7937 GB, free: 5.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.006279, allocations: 131.4 kB / 0.7939 GB, free: 5.211 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006279, allocations: 1.094 kB / 0.7939 GB, free: 5.211 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001518/0.006431, allocations: 11.94 kB / 0.7939 GB, free: 5.199 MB / 0.698 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 9.031e-05/0.006521, allocations: 104.1 kB / 0.794 GB, free: 5.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.006595, allocations: 20.84 kB / 0.794 GB, free: 5.066 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.006596, allocations: 0 / 0.794 GB, free: 5.066 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.006621, allocations: 27.56 kB / 0.794 GB, free: 5.039 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.006779, allocations: 6.406 kB / 0.794 GB, free: 5.035 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.007011, allocations: 134.3 kB / 0.7941 GB, free: 4.875 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.00704, allocations: 55.36 kB / 0.7942 GB, free: 4.801 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.007081, allocations: 9.188 kB / 0.7942 GB, free: 4.797 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.007135, allocations: 74.19 kB / 0.7943 GB, free: 4.723 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.007135, allocations: 0.5 kB / 0.7943 GB, free: 4.723 MB / 0.698 GB Notification: Performance of Templates: time 0.002132/0.009267, allocations: 0.9871 MB / 0.7952 GB, free: 3.75 MB / 0.698 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: 4.9370097406208515]