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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 198.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003497/0.003497, allocations: 71.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8961, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002956/0.8991, allocations: 1.457 MB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.9005, allocations: 0.8115 MB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.9006, allocations: 0 / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.9006, allocations: 0 / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.9007, allocations: 11.94 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.9011, allocations: 127.5 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.9012, allocations: 35.91 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.9013, allocations: 7.922 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.9014, allocations: 19.98 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.9014, allocations: 19.92 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.9015, allocations: 0 / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.902, allocations: 319.3 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.902, allocations: 7.984 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.902, allocations: 11.94 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.9023, allocations: 198.2 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9023, allocations: 0 / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9023, allocations: 0 / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9023, allocations: 3.984 kB / 1.277 GB, free: 1.508 MB / 0.9669 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.0006078/0.9029, allocations: 382.9 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.903, allocations: 12.03 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.9035, allocations: 64.81 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.9036, allocations: 168.4 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.9036, allocations: 4.375 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9036, allocations: 384 / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.904, allocations: 89.88 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.904, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.904, allocations: 4 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.904, allocations: 0 / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.9044, allocations: 91.91 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.905, allocations: 300.8 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.9054, allocations: 94.5 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.9056, allocations: 48.81 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.9057, allocations: 4 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.9057, allocations: 34.56 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9057, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0008116/0.9065, allocations: 165.5 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.9066, allocations: 51.41 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.9066, allocations: 101.8 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.9067, allocations: 33.83 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.9067, allocations: 84.08 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.9067, allocations: 7.953 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.9068, allocations: 17.7 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9069, allocations: 310.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.9072, allocations: 55.89 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.9074, allocations: 39.95 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.9078, allocations: 92.77 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9078, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005015/0.9083, allocations: 121.6 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9083, allocations: 8.031 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9083, allocations: 3.938 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.9083, allocations: 7.938 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.9085, allocations: 19.97 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.9085, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.9086, allocations: 23.97 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.9087, allocations: 256 / 1.279 GB, free: 14.89 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 9.867e-05/0.9088, allocations: 119.2 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.9088, allocations: 11.94 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.9088, allocations: 3.125 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.9088, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.9088, allocations: 4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9088, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.9091, allocations: 173.6 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9091, allocations: 4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.9092, allocations: 23.97 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9092, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.9092, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9092, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9092, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.9098, allocations: 219.4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.9098, allocations: 85.14 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.9098, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.91, allocations: 19.97 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.91, allocations: 7.938 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.91, allocations: 3.984 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.9101, allocations: 79.28 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9101, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002485/0.9103, allocations: 19.94 kB / 1.28 GB, free: 14.04 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.000186/0.9105, allocations: 119.1 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005117/0.911, allocations: 91.91 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.911, allocations: 0 / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.9113, allocations: 56 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.9116, allocations: 9.344 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.9122, allocations: 169.4 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.9125, allocations: 0.6768 MB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.518e-05/0.9126, allocations: 15.89 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.9126, allocations: 11.44 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.9126, allocations: 0 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.003473/0.9161, allocations: 0.8283 MB / 1.282 GB, free: 12.02 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.852881155908108]