Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001315/0.001315, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001511/0.001511, allocations: 216 kB / 23.01 MB, free: 4.566 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.255/3.255, allocations: 0.505 GB / 0.8108 GB, free: 21.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_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.002028/0.002028, allocations: 66.69 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 180.2 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002748/0.3657, allocations: 1.467 MB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.367, allocations: 0.8411 MB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.3671, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.3671, allocations: 7.922 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.3671, allocations: 7.938 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.3676, allocations: 129.3 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.3676, allocations: 35.91 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.3677, allocations: 4 kB / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.3678, allocations: 19.92 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.3679, allocations: 15.98 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3679, allocations: 4 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.3684, allocations: 319.3 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.3684, allocations: 3.938 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.3684, allocations: 11.98 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3687, allocations: 207.5 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3687, allocations: 3.938 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3687, allocations: 0 / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3687, allocations: 0 / 1.357 GB, free: 4.828 MB / 1.045 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.0005657/0.3693, allocations: 305.8 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3693, allocations: 8.031 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.3698, allocations: 72.8 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3699, allocations: 102.5 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3699, allocations: 4.375 kB / 1.358 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.37, allocations: 384 / 1.358 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.3703, allocations: 97.86 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3703, allocations: 0 / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3703, allocations: 0 / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3703, allocations: 0 / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.3707, allocations: 95.89 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.3712, allocations: 267.9 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.3716, allocations: 94.5 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.3718, allocations: 56.86 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3718, allocations: 0 / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3719, allocations: 30.56 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3719, allocations: 0 / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0007108/0.3726, allocations: 173.5 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3726, allocations: 59.39 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.3727, allocations: 97.86 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3727, allocations: 25.7 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.3728, allocations: 84.14 kB / 1.359 GB, free: 3.125 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3728, allocations: 11.88 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3728, allocations: 17.72 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.373, allocations: 310.8 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3732, allocations: 43.98 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.3734, allocations: 55.94 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.3738, allocations: 92.77 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3738, allocations: 0 / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004337/0.3742, allocations: 125.5 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3742, allocations: 4 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3742, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3742, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3744, allocations: 23.97 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3744, allocations: 4.031 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3745, allocations: 15.97 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3745, allocations: 7.984 kB / 1.359 GB, free: 2.402 MB / 1.045 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 0.0001003/0.3746, allocations: 118.4 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3747, allocations: 0 / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.3747, allocations: 7.312 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3747, allocations: 7.984 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3747, allocations: 0 / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3747, allocations: 0 / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3749, allocations: 144.9 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3749, allocations: 4 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.375, allocations: 23.97 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.375, allocations: 0 / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.375, allocations: 0 / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.375, allocations: 7.875 kB / 1.36 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.375, allocations: 7.984 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.3755, allocations: 215.4 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.3755, allocations: 4 kB / 1.36 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3755, allocations: 3.984 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3757, allocations: 11.98 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3757, allocations: 16.02 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3757, allocations: 0 / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.3758, allocations: 79.28 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 0 / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002363/0.376, allocations: 15.94 kB / 1.36 GB, free: 1.684 MB / 1.045 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.0001755/0.3762, allocations: 103.2 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.3766, allocations: 99.84 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3766, allocations: 0 / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3768, allocations: 56 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3771, allocations: 13.77 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.3777, allocations: 179.8 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.378, allocations: 0.6768 MB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.3781, allocations: 11.44 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3781, allocations: 0 / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of Templates: time 0.002545/0.3806, allocations: 0.9052 MB / 1.362 GB, free: 15.59 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.033790359011618]