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.001378/0.001378, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001853/0.001853, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.98 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.363/3.363, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 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.002086/0.002086, allocations: 81.45 kB / 1.184 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 181.4 MB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002729/0.3575, allocations: 1.478 MB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3589, allocations: 0.8411 MB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.359, allocations: 0 / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.359, allocations: 3.938 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.3591, allocations: 7.938 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.3595, allocations: 127.5 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.3596, allocations: 31.92 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.3597, allocations: 7.984 kB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.3597, allocations: 11.94 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.3598, allocations: 27.95 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3598, allocations: 4 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.3603, allocations: 311.4 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.3603, allocations: 11.92 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.3604, allocations: 19.86 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3607, allocations: 199.5 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3607, allocations: 3.984 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3607, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3607, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 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.0005678/0.3613, allocations: 301.9 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3613, allocations: 8.031 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.3618, allocations: 68.81 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3619, allocations: 114.5 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3619, allocations: 4.375 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3619, allocations: 384 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3622, allocations: 86.88 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3622, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3623, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3623, allocations: 4 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.3627, allocations: 95.78 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.3632, allocations: 271.9 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.3636, allocations: 94.5 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3638, allocations: 44.88 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3638, allocations: 4 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3638, allocations: 34.56 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3638, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0007301/0.3646, allocations: 173.4 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3646, allocations: 51.41 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.3647, allocations: 101.8 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3647, allocations: 29.83 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.3648, allocations: 84.14 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3648, allocations: 11.89 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.3648, allocations: 17.7 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.365, allocations: 314.8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3652, allocations: 47.95 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3654, allocations: 43.95 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.3658, allocations: 96.7 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3658, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004296/0.3662, allocations: 121.6 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3662, allocations: 8.031 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3662, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3662, allocations: 7.984 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3664, allocations: 19.97 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3664, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3665, allocations: 19.97 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3665, allocations: 4 kB / 1.367 GB, free: 10.63 MB / 1.061 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.139e-05/0.3666, allocations: 113.8 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3667, allocations: 4 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.3667, allocations: 3.312 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3667, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3667, allocations: 256 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3667, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3669, allocations: 152.6 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3669, allocations: 4 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.367, allocations: 27.91 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.367, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.367, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.367, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.367, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.3675, allocations: 219.4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.3675, allocations: 4.031 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3676, allocations: 7.938 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3677, allocations: 23.97 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3677, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3677, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.3678, allocations: 83.27 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3678, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002445/0.368, allocations: 15.94 kB / 1.367 GB, free: 9.918 MB / 1.061 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.000174/0.3682, allocations: 111.2 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.3687, allocations: 95.83 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3687, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.3689, allocations: 47.95 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3692, allocations: 18.23 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.3697, allocations: 160.5 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.37, allocations: 0.6729 MB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.387e-05/0.3701, allocations: 8 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3702, allocations: 11.42 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3702, allocations: 0 / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of Templates: time 0.003471/0.3736, allocations: 0.8388 MB / 1.369 GB, free: 7.906 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/jenkins/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: 9.116345774848014]