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.001824/0.001824, allocations: 78.33 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.002261/0.002261, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.917/2.917, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 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.00222/0.00222, allocations: 69.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7979, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002189/0.8001, allocations: 1.468 MB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.8012, allocations: 0.764 MB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.8012, allocations: 0 / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.8012, allocations: 0 / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.8013, allocations: 9.969 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.8017, allocations: 134.2 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.8018, allocations: 35.36 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.8018, allocations: 3.656 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.8019, allocations: 12.94 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.8019, allocations: 25.91 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.802, allocations: 2.312 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.8023, allocations: 246.2 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.8024, allocations: 6.344 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.8024, allocations: 14.5 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.8027, allocations: 180 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8027, allocations: 0.75 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8027, allocations: 0 / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.8027, allocations: 0 / 1.189 GB, free: 14.53 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.0004304/0.8031, allocations: 304.1 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.8032, allocations: 14.58 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.8036, allocations: 65.58 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.83e-05/0.8037, allocations: 106.9 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.8037, allocations: 5.5 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8037, allocations: 6.062 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.804, allocations: 81.41 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.804, allocations: 4 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.804, allocations: 1.125 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.804, allocations: 0 / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.8045, allocations: 93.66 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.8049, allocations: 247.7 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.8053, allocations: 100.7 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.8055, allocations: 51.91 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.8055, allocations: 1.094 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.8055, allocations: 35.69 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8055, allocations: 0 / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0007475/0.8063, allocations: 160.3 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.8063, allocations: 57.31 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.8064, allocations: 106.7 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.8064, allocations: 26.89 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.8064, allocations: 89.98 kB / 1.191 GB, free: 13.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.8064, allocations: 6.062 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.8064, allocations: 12.83 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.8065, allocations: 317.1 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.8067, allocations: 47.58 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.8069, allocations: 41.97 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.8073, allocations: 90.34 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8073, allocations: 0 / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004476/0.8077, allocations: 126.8 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8078, allocations: 10 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8078, allocations: 0.7969 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8078, allocations: 3.938 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.8079, allocations: 20.98 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.8079, allocations: 1.25 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.8081, allocations: 16.47 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.8081, allocations: 5.891 kB / 1.192 GB, free: 12.94 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.425e-05/0.8081, allocations: 113.1 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.8081, allocations: 9.359 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.8082, allocations: 9.984 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8082, allocations: 0 / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8082, allocations: 0 / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8082, allocations: 2.078 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.8083, allocations: 112.7 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8083, allocations: 3.938 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.8084, allocations: 25.59 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8084, allocations: 0 / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.8085, allocations: 2.406 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8085, allocations: 0 / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.8085, allocations: 1.312 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.8089, allocations: 218.7 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.8089, allocations: 6 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.8089, allocations: 2.094 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.8091, allocations: 25.22 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.8091, allocations: 3.625 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.8091, allocations: 4 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.8092, allocations: 82.3 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8092, allocations: 0 / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002534/0.8094, allocations: 14.88 kB / 1.192 GB, free: 12.42 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.0001111/0.8095, allocations: 103.4 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.81, allocations: 97.08 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.81, allocations: 0 / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.8102, allocations: 52.31 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.8105, allocations: 17.28 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.811, allocations: 166.5 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.8111, allocations: 59.77 kB / 1.193 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.8111, allocations: 13.34 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.8112, allocations: 10.61 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.8112, allocations: 0 / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of Templates: time 0.003442/0.8146, allocations: 0.8805 MB / 1.194 GB, free: 11.97 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.77582900004927]