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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001156/0.001156, allocations: 161 kB / 23.82 MB, free: 0.7461 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.997/0.997, allocations: 177.2 MB / 204.2 MB, free: 5.633 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.774/1.774, allocations: 377.9 MB / 0.6236 GB, free: 8.566 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.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.037e-05, allocations: 5.641 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.005434/0.005464, allocations: 1.494 MB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.006608, allocations: 0.7915 MB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.006643, allocations: 0 / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.006676, allocations: 8.703 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.006724, allocations: 5.625 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.0102, allocations: 129 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.0103, allocations: 31.92 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.01039, allocations: 5.75 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.01045, allocations: 19.97 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.01051, allocations: 23.91 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.01053, allocations: 4 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.01089, allocations: 247.5 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.0109, allocations: 5.062 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.01093, allocations: 11.98 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.01126, allocations: 199.5 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01127, allocations: 1.531 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01127, allocations: 0 / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.01127, allocations: 0 / 0.8144 GB, free: 14.77 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.0004829/0.01176, allocations: 402.8 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.0118, allocations: 8.031 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.01212, allocations: 53.31 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.01222, allocations: 113.3 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.01224, allocations: 4.312 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.01225, allocations: 8.891 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.01245, allocations: 76.56 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.01246, allocations: 192 / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.01247, allocations: 4.875 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.01248, allocations: 4.531 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.01253, allocations: 8.781 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.01292, allocations: 276.9 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.01605, allocations: 52.41 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.01609, allocations: 15.75 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.0161, allocations: 0.5 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.01613, allocations: 42.36 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.01613, allocations: 0 / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002202/0.01635, allocations: 54.53 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.01638, allocations: 51.41 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.01646, allocations: 162.8 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.01648, allocations: 25.7 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.01653, allocations: 133.1 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.01655, allocations: 11.88 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.01659, allocations: 23.38 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.01671, allocations: 496.1 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.01674, allocations: 4 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.01677, allocations: 6.719 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.01681, allocations: 19.69 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01682, allocations: 0 / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001014/0.01692, allocations: 53.58 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.01694, allocations: 7.938 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01694, allocations: 1.562 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01695, allocations: 4 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01706, allocations: 11.98 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01706, allocations: 0.5 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.01711, allocations: 13.33 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.01712, allocations: 0 / 0.8165 GB, free: 12.48 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 7.212e-05/0.01719, allocations: 152.6 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.01722, allocations: 16.8 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.01725, allocations: 7.312 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01725, allocations: 0.6562 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01726, allocations: 0 / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01726, allocations: 3.688 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.01739, allocations: 120.9 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01739, allocations: 4 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.01744, allocations: 15.98 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01745, allocations: 0 / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01746, allocations: 3.938 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01746, allocations: 0 / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01746, allocations: 3.938 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.01762, allocations: 193.7 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.01762, allocations: 3.953 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01764, allocations: 7.922 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.01771, allocations: 8.938 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.01775, allocations: 3.984 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01775, allocations: 4 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.01779, allocations: 128.3 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01779, allocations: 0 / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002357/0.01803, allocations: 15.92 kB / 0.8172 GB, free: 11.75 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.0001551/0.01818, allocations: 100.4 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.0183, allocations: 28.67 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.0183, allocations: 0 / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.01833, allocations: 20.44 kB / 0.8173 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01858, allocations: 16.31 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.02192, allocations: 138.2 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.02196, allocations: 60.94 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.488e-05/0.02202, allocations: 16.08 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.02205, allocations: 12.5 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.02205, allocations: 384 / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.005927/0.02798, allocations: 0.9529 MB / 0.8185 GB, free: 10.37 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.00869068922475]