Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001437/0.001437, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001661/0.001661, 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 1.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.822/1.822, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.964e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003199/0.003229, allocations: 1.494 MB / 0.813 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.00462, allocations: 0.7882 MB / 0.8138 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.004657, allocations: 0 / 0.8138 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.004689, allocations: 3.938 kB / 0.8138 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.004741, allocations: 9.25 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.005159, allocations: 125.1 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.005234, allocations: 34.36 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005335, allocations: 3.984 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.005393, allocations: 23.97 kB / 0.814 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.00544, allocations: 15.98 kB / 0.814 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.005456, allocations: 4 kB / 0.814 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.005746, allocations: 247.4 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.005764, allocations: 11.98 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.005784, allocations: 8.656 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.006036, allocations: 207.4 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.006039, allocations: 0.5312 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00604, allocations: 1.656 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.006045, allocations: 0 / 0.8144 GB, free: 15.13 MB / 0.7761 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.0003918/0.006436, allocations: 396.2 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.006471, allocations: 8.031 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.006722, allocations: 55.88 kB / 0.8149 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.006805, allocations: 108.6 kB / 0.815 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.006821, allocations: 5.75 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.006831, allocations: 384 / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.006999, allocations: 84.64 kB / 0.8151 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.007006, allocations: 192 / 0.8151 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.007016, allocations: 384 / 0.8151 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007024, allocations: 7.875 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.007072, allocations: 12.58 kB / 0.8151 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.007402, allocations: 273.4 kB / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.007502, allocations: 52.84 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.007531, allocations: 15.75 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007544, allocations: 0 / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.007565, allocations: 46.08 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.007566, allocations: 0 / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.007742, allocations: 52.03 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.00777, allocations: 51.41 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.00785, allocations: 161.9 kB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.007861, allocations: 29.7 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.007903, allocations: 126.9 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.007921, allocations: 9.891 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.007955, allocations: 27.36 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008065, allocations: 492.1 kB / 0.8164 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.00809, allocations: 4 kB / 0.8164 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.008112, allocations: 8.484 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.008153, allocations: 25.53 kB / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008154, allocations: 0 / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.89e-05/0.008233, allocations: 49.64 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.008248, allocations: 11.94 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.008252, allocations: 1.156 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.008263, allocations: 0 / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.008351, allocations: 12.64 kB / 0.8165 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.008355, allocations: 3.594 kB / 0.8165 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.008393, allocations: 11.98 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.008399, allocations: 256 / 0.8165 GB, free: 12.84 MB / 0.7761 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.147e-05/0.00846, allocations: 156.6 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.008478, allocations: 7.875 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.008507, allocations: 7.312 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008511, allocations: 8 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.008514, allocations: 0 / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.008517, allocations: 2.094 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.008618, allocations: 120.6 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008619, allocations: 0 / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.008664, allocations: 19.97 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.008666, allocations: 3.938 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008675, allocations: 4.875 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008676, allocations: 0 / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008676, allocations: 1.125 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.008822, allocations: 191.9 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.008829, allocations: 5.016 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.008843, allocations: 7.938 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.008894, allocations: 9.078 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.008929, allocations: 7.938 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.008933, allocations: 3.984 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.008969, allocations: 124.1 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008969, allocations: 0 / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001682/0.009137, allocations: 21.47 kB / 0.8171 GB, free: 12.1 MB / 0.7761 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.0001269/0.009264, allocations: 103.2 kB / 0.8172 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.986e-05/0.009364, allocations: 21.41 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009365, allocations: 0 / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.009394, allocations: 15.67 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.009577, allocations: 19.34 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.009883, allocations: 135 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.009918, allocations: 65.52 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.009962, allocations: 14.27 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.00999, allocations: 8.5 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.009991, allocations: 0 / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.002737/0.01273, allocations: 0.9 MB / 0.8184 GB, free: 10.79 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.163952698931098]