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.001032/0.001032, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001298/0.001298, allocations: 165 kB / 23.82 MB, free: 0.75 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.9735/0.9735, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.858/1.858, allocations: 377.8 MB / 0.6236 GB, free: 8.586 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 1.452e-06/1.452e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.591e-05, allocations: 10.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001723/0.001738, allocations: 1.493 MB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.00269, allocations: 0.7872 MB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.002726, allocations: 0 / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.002753, allocations: 5.188 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.002791, allocations: 7.938 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.003151, allocations: 125.9 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.003223, allocations: 41.05 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.003305, allocations: 4 kB / 0.814 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.003358, allocations: 19.98 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.003405, allocations: 12.8 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.003421, allocations: 4 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.00369, allocations: 252 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.003705, allocations: 11.92 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.003726, allocations: 12.8 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.003965, allocations: 195.5 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.003967, allocations: 1.125 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003968, allocations: 0 / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.003972, allocations: 4 kB / 0.8144 GB, free: 14.79 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.0003646/0.004337, allocations: 397.7 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.004372, allocations: 12.03 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.004609, allocations: 46.81 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.004689, allocations: 122 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004703, allocations: 8.312 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.004714, allocations: 384 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.004862, allocations: 72.02 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004869, allocations: 0.7188 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.004879, allocations: 0.9062 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.004887, allocations: 3.938 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.004933, allocations: 16.92 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.005254, allocations: 276.5 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.005348, allocations: 48.95 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.005377, allocations: 15.75 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.005392, allocations: 0.9062 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.005413, allocations: 41.31 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.005415, allocations: 4.828 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.005577, allocations: 50.92 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.005602, allocations: 55.39 kB / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.005669, allocations: 161.9 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.00568, allocations: 26.48 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.005726, allocations: 130.9 kB / 0.8159 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.005746, allocations: 16.75 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005774, allocations: 15.38 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005889, allocations: 0.4884 MB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.005911, allocations: 5.562 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.005929, allocations: 7.984 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.005969, allocations: 16.81 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005971, allocations: 0 / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.078e-05/0.006042, allocations: 56.8 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.006053, allocations: 7.938 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006057, allocations: 0 / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006069, allocations: 0 / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.006156, allocations: 12.23 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006161, allocations: 4 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.006195, allocations: 12.48 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.006203, allocations: 4 kB / 0.8165 GB, free: 12.5 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 5.695e-05/0.00626, allocations: 157.7 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.006278, allocations: 7.875 kB / 0.8167 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.006304, allocations: 8.406 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006305, allocations: 0 / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.006308, allocations: 0 / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006311, allocations: 5.047 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.297e-05/0.006404, allocations: 120.6 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006405, allocations: 0 / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.006445, allocations: 13.33 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006446, allocations: 0 / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.006454, allocations: 8.969 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.006455, allocations: 4 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006455, allocations: 0 / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.006563, allocations: 188.6 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006572, allocations: 10.39 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.006583, allocations: 3.938 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.006632, allocations: 11.98 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.006666, allocations: 4 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.00667, allocations: 3.984 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.006702, allocations: 123.2 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006702, allocations: 3 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001529/0.006855, allocations: 15.94 kB / 0.8172 GB, free: 11.77 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.0001031/0.006958, allocations: 103.2 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.00706, allocations: 27.62 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007061, allocations: 0 / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.818e-05/0.00709, allocations: 20.58 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.007258, allocations: 9 kB / 0.8173 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.007529, allocations: 139.4 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.007561, allocations: 56.34 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.0076, allocations: 12.95 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.007633, allocations: 16.5 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.007633, allocations: 1.656 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.002194/0.009827, allocations: 0.9047 MB / 0.8184 GB, free: 10.45 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.154335948172957]