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.001293/0.001293, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00143/0.00143, allocations: 222 kB / 23 MB, free: 4.91 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.216/3.216, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002194/0.002194, allocations: 68.97 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3251, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.0028/0.3279, allocations: 1.467 MB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3294, allocations: 0.7604 MB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.3294, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.3294, allocations: 7.922 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.3295, allocations: 4 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.3299, allocations: 131.5 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.33, allocations: 35.86 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.3301, allocations: 4 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.3301, allocations: 19.98 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.3302, allocations: 19.91 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3302, allocations: 4 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.3306, allocations: 243.5 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.3306, allocations: 7.984 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3307, allocations: 11.92 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.331, allocations: 191.5 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.331, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.331, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.331, allocations: 0 / 1.367 GB, free: 10.66 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.0005211/0.3315, allocations: 301.9 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3315, allocations: 12.03 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.332, allocations: 64.84 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3321, allocations: 114.5 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3321, allocations: 384 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3321, allocations: 4.375 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.3325, allocations: 85.94 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3325, allocations: 4 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3325, allocations: 0 / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3325, allocations: 0 / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.3329, allocations: 91.89 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.3334, allocations: 240.4 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.3338, allocations: 102.4 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.334, allocations: 56.88 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.334, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.334, allocations: 30.56 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.334, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0007352/0.3348, allocations: 177.5 kB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3348, allocations: 51.41 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.3349, allocations: 105.8 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3349, allocations: 25.7 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.335, allocations: 84.14 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.335, allocations: 7.891 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.3351, allocations: 17.72 kB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3352, allocations: 314.8 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3354, allocations: 43.98 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3356, allocations: 47.95 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.336, allocations: 88.83 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.336, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004653/0.3365, allocations: 133.5 kB / 1.37 GB, free: 8.328 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3365, allocations: 4 kB / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3365, allocations: 0 / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3365, allocations: 0 / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3367, allocations: 23.97 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3367, allocations: 0 / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3368, allocations: 16.02 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3368, allocations: 4 kB / 1.37 GB, free: 8.281 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.885e-05/0.3369, allocations: 118.9 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3369, allocations: 7.953 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.337, allocations: 3.312 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.337, allocations: 0 / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.337, allocations: 0 / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.337, allocations: 0 / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3371, allocations: 113.6 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3371, allocations: 7.938 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3373, allocations: 31.91 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3373, allocations: 0 / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3373, allocations: 0 / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3373, allocations: 0 / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3373, allocations: 0 / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.3378, allocations: 223.4 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.3378, allocations: 3.938 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3378, allocations: 0 / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.338, allocations: 24 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.338, allocations: 0 / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.338, allocations: 3.984 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.3381, allocations: 83.28 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3381, allocations: 4 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002498/0.3383, allocations: 11.94 kB / 1.37 GB, free: 7.598 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.0001777/0.3385, allocations: 107.2 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.339, allocations: 95.84 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.339, allocations: 0 / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.3392, allocations: 52 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3395, allocations: 9.312 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.3401, allocations: 187.2 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.737e-05/0.3402, allocations: 59.34 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.3402, allocations: 11.44 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.3402, allocations: 0 / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of Templates: time 0.002496/0.3427, allocations: 0.9064 MB / 1.372 GB, free: 6.121 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: 10.835636020172387]