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.001609/0.001609, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001879/0.001879, allocations: 164 kB / 23.01 MB, free: 4.945 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.811/2.811, allocations: 377.9 MB / 0.6228 GB, free: 12.69 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002093/0.002093, allocations: 67.89 kB / 0.982 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8431, allocations: 176.1 MB / 1.154 GB, free: 33.26 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00206/0.8452, allocations: 1.461 MB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.8462, allocations: 0.7516 MB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.8462, allocations: 2.844 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.8462, allocations: 7.594 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.8463, allocations: 7.938 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.8467, allocations: 120.4 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.8467, allocations: 33.97 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.8468, allocations: 5.828 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.8468, allocations: 22.62 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.8469, allocations: 19.58 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.8469, allocations: 2.688 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.8472, allocations: 249.1 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.8472, allocations: 11.27 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.8473, allocations: 10.19 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.8475, allocations: 189.5 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8475, allocations: 0 / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8475, allocations: 0 / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8475, allocations: 0 / 1.157 GB, free: 31.55 MB / 1.076 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.0004282/0.848, allocations: 307.8 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.848, allocations: 10.47 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.8484, allocations: 67.67 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.312e-05/0.8485, allocations: 106.5 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8485, allocations: 3.219 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.8485, allocations: 384 / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.8488, allocations: 91.02 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.8488, allocations: 0 / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8488, allocations: 3.984 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8488, allocations: 3.938 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.8492, allocations: 96.5 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.8496, allocations: 230.8 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.85, allocations: 100.4 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.8502, allocations: 55.59 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.8502, allocations: 0 / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.8502, allocations: 37.34 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.8502, allocations: 0 / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0006723/0.8509, allocations: 172.6 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.8509, allocations: 51.41 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.655e-05/0.8509, allocations: 105.5 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.8509, allocations: 25.7 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.851, allocations: 84.09 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.851, allocations: 6.844 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.851, allocations: 15.92 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.8511, allocations: 310.8 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.8513, allocations: 51.12 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.8514, allocations: 42.73 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.8518, allocations: 92.25 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.8518, allocations: 4 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004122/0.8522, allocations: 128 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.8522, allocations: 8.891 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.8522, allocations: 0 / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.8523, allocations: 3.938 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.8524, allocations: 20.53 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.8524, allocations: 0 / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.8525, allocations: 21.2 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.8525, allocations: 0 / 1.159 GB, free: 29.96 MB / 1.076 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 4.362e-05/0.8526, allocations: 116.7 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.8526, allocations: 6.062 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.8526, allocations: 3.312 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.8526, allocations: 3.938 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8526, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8526, allocations: 2.688 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.8527, allocations: 110.5 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8527, allocations: 3.938 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.8529, allocations: 27.75 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.8529, allocations: 0 / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.8529, allocations: 2.562 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8529, allocations: 0 / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8529, allocations: 0 / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.8533, allocations: 218.5 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.8533, allocations: 10.38 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.8533, allocations: 256 / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.8535, allocations: 23.09 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.8535, allocations: 2.594 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.8535, allocations: 0 / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.8535, allocations: 88.72 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8535, allocations: 3.938 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002401/0.8538, allocations: 15.34 kB / 1.159 GB, free: 29.44 MB / 1.076 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.0001064/0.8539, allocations: 111.1 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.8543, allocations: 98.33 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8543, allocations: 4.062 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.8545, allocations: 43.11 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.8548, allocations: 6.844 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.8553, allocations: 165.9 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.8553, allocations: 71.08 kB / 1.16 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.8554, allocations: 13.5 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.8554, allocations: 8.5 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8554, allocations: 2.812 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of Templates: time 0.002913/0.8583, allocations: 0.8773 MB / 1.161 GB, free: 28.98 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.439652799977921]