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.001785/0.001785, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002607/0.002607, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.984/2.984, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.2 kB / 1.118 GB, free: 41.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 169.9 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00287/0.3593, allocations: 1.461 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3607, allocations: 0.7613 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.3608, allocations: 0 / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.3608, allocations: 0 / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.3608, allocations: 3.938 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.3613, allocations: 135.5 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.3614, allocations: 35.91 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.3615, allocations: 4 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.3616, allocations: 15.97 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.3616, allocations: 19.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3616, allocations: 0 / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.3621, allocations: 247.5 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3621, allocations: 11.97 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.3621, allocations: 11.94 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.3624, allocations: 187.5 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3624, allocations: 4 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3624, allocations: 0 / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3624, allocations: 0 / 1.287 GB, free: 8.996 MB / 0.9825 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.0005651/0.363, allocations: 300 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.363, allocations: 12.03 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.3635, allocations: 68.78 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3636, allocations: 114.5 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3637, allocations: 384 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3637, allocations: 8.312 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.364, allocations: 89.94 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.364, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.364, allocations: 3.938 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.364, allocations: 0 / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.3644, allocations: 91.89 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.3649, allocations: 232.6 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.3653, allocations: 98.38 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3656, allocations: 56.86 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3656, allocations: 0 / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3656, allocations: 30.56 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3656, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007484/0.3664, allocations: 165.6 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3664, allocations: 55.41 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.3665, allocations: 101.8 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3665, allocations: 25.7 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.3666, allocations: 92.12 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3666, allocations: 7.891 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.3667, allocations: 13.72 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3668, allocations: 318.9 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.367, allocations: 39.95 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3672, allocations: 51.94 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3676, allocations: 88.83 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3676, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004553/0.3681, allocations: 129.5 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3681, allocations: 4 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3681, allocations: 0 / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3681, allocations: 3.984 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3683, allocations: 27.95 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3683, allocations: 0 / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3684, allocations: 23.91 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3684, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 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.274e-05/0.3685, allocations: 109.8 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3686, allocations: 7.984 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.3686, allocations: 11.3 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3686, allocations: 0 / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3686, allocations: 4.25 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3686, allocations: 0 / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3688, allocations: 113.3 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3688, allocations: 3.938 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3689, allocations: 23.97 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3689, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3689, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3689, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/0.3689, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.3695, allocations: 231.3 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.3695, allocations: 7.891 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3695, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3696, allocations: 23.97 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3697, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3697, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.3697, allocations: 87.27 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3697, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.37, allocations: 11.94 kB / 1.289 GB, free: 5.941 MB / 0.9825 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.0001674/0.3701, allocations: 107.3 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.3706, allocations: 95.89 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3706, allocations: 0 / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3708, allocations: 51.89 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3711, allocations: 8.062 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.3717, allocations: 187.2 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.3718, allocations: 67.34 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3718, allocations: 11.42 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3718, allocations: 7.938 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.002787/0.3746, allocations: 0.9085 MB / 1.291 GB, free: 4.449 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.44443295802921]