Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.5 MB / 0.7293 GB, free: 14.41 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 71.88 kB / 1.057 GB, free: 1.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3595, allocations: 160.7 MB / 1.214 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002891/0.3624, allocations: 1.445 MB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3639, allocations: 0.796 MB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.3639, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.364, allocations: 8 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.364, allocations: 7.922 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.3645, allocations: 123.5 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.3646, allocations: 35.97 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.3647, allocations: 4 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.3647, allocations: 23.86 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.3648, allocations: 19.92 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3648, allocations: 4 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.3653, allocations: 315.3 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3654, allocations: 7.984 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.3654, allocations: 11.94 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.3658, allocations: 199.4 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3658, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3658, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.3658, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 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.000634/0.3664, allocations: 383 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3665, allocations: 8.031 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.3669, allocations: 72.8 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3671, allocations: 160.4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3671, allocations: 384 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3672, allocations: 4.375 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.3675, allocations: 97.86 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3675, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3675, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3675, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.3679, allocations: 95.89 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.3685, allocations: 296.9 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.369, allocations: 90.5 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.3692, allocations: 56.86 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.3692, allocations: 11.86 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3693, allocations: 34.56 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3693, allocations: 0 / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0008101/0.3701, allocations: 173.4 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3701, allocations: 51.41 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3703, allocations: 102 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3703, allocations: 29.7 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.3704, allocations: 80.14 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3704, allocations: 7.938 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.3704, allocations: 17.72 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3706, allocations: 310.8 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3708, allocations: 47.95 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.371, allocations: 47.88 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.3714, allocations: 92.77 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3714, allocations: 4 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004659/0.3719, allocations: 121.6 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3719, allocations: 8 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3719, allocations: 0 / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3719, allocations: 0 / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3721, allocations: 19.97 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3721, allocations: 0 / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3722, allocations: 28.19 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3722, allocations: 4 kB / 1.219 GB, free: 11.18 MB / 0.9669 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 9.764e-05/0.3723, allocations: 121.7 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3724, allocations: 3.953 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3724, allocations: 7.109 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3724, allocations: 0 / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3724, allocations: 0 / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3724, allocations: 4 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3726, allocations: 173.6 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3726, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3728, allocations: 19.97 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3728, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3728, allocations: 3.984 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3728, allocations: 4 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3728, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.3733, allocations: 219.4 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.3734, allocations: 85.03 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3734, allocations: 0 / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3735, allocations: 15.98 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3736, allocations: 7.922 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3736, allocations: 0 / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.3736, allocations: 87.22 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3736, allocations: 4.031 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002457/0.3739, allocations: 12 kB / 1.22 GB, free: 10.34 MB / 0.9669 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.000182/0.3741, allocations: 111.2 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.3746, allocations: 91.91 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3746, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.3748, allocations: 52 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3751, allocations: 13.81 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.3758, allocations: 187.1 kB / 1.22 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3761, allocations: 0.6806 MB / 1.221 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.3762, allocations: 11.44 kB / 1.221 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3762, allocations: 0 / 1.221 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of Templates: time 0.00262/0.3788, allocations: 0.8867 MB / 1.222 GB, free: 8.246 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.664287864929065]