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.001662/0.001662, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001712/0.001712, allocations: 206.7 kB / 22.24 MB, free: 5.258 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.805 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.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.824 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.002206/0.002206, allocations: 68.11 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002837/0.3356, allocations: 1.455 MB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3371, allocations: 0.7535 MB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.3371, allocations: 4 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.3371, allocations: 7.875 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.3372, allocations: 3.984 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.3377, allocations: 127.5 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.3377, allocations: 43.91 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.3378, allocations: 0 / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.3379, allocations: 19.92 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.3379, allocations: 15.98 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3379, allocations: 4 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.3384, allocations: 247.5 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.3384, allocations: 11.92 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3384, allocations: 4 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.3387, allocations: 191.5 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3387, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3387, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3387, allocations: 4 kB / 1.286 GB, free: 9.094 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.0005521/0.3393, allocations: 305.8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3393, allocations: 8.031 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.3398, allocations: 68.84 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3399, allocations: 110.4 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.3399, allocations: 4.375 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3399, allocations: 8.359 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.3403, allocations: 89.94 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3403, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3403, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3403, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.3407, allocations: 95.89 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.3413, allocations: 232.5 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3417, allocations: 106.4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3419, allocations: 48.88 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3419, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3419, allocations: 34.56 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3419, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007601/0.3427, allocations: 173.6 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3427, allocations: 51.41 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.3428, allocations: 97.86 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3429, allocations: 29.7 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.3429, allocations: 84.12 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3429, allocations: 11.89 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.343, allocations: 13.72 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3431, allocations: 310.8 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.3434, allocations: 55.97 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3436, allocations: 43.95 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.344, allocations: 92.77 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.344, allocations: 3.938 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004898/0.3445, allocations: 129.4 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3445, allocations: 11.98 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3445, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3445, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3446, allocations: 15.98 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3447, allocations: 3.984 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3448, allocations: 20.02 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.3448, allocations: 0 / 1.288 GB, free: 6.707 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 0.0001041/0.3449, allocations: 117.8 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.3449, allocations: 3.984 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3449, allocations: 3.312 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3449, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3449, allocations: 4 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3449, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3451, allocations: 117.3 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3451, allocations: 3.938 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3452, allocations: 19.97 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3452, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3453, allocations: 4.25 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3453, allocations: 0 / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3453, allocations: 4 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.3458, allocations: 219.4 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.3458, allocations: 7.891 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3458, allocations: 8.031 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.346, allocations: 15.97 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.346, allocations: 4 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.346, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.3461, allocations: 87.27 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3461, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002502/0.3463, allocations: 15.94 kB / 1.289 GB, free: 6.031 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.0001597/0.3465, allocations: 99.25 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.347, allocations: 103.8 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.347, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.3472, allocations: 47.89 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3475, allocations: 11.92 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.3481, allocations: 161.6 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.343e-05/0.3481, allocations: 59.36 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.73e-05/0.3482, allocations: 11.94 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3482, allocations: 15.41 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.3482, allocations: 4 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.003405/0.3517, allocations: 0.8881 MB / 1.29 GB, free: 4.602 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/jenkins/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: 8.972900945693254]