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.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.001347/0.001347, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001596/0.001596, allocations: 212.7 kB / 23.01 MB, free: 4.57 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002087/0.002087, allocations: 67 kB / 1.119 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3935, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003027/0.3965, allocations: 1.468 MB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3981, allocations: 0.8428 MB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.3981, allocations: 0 / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.3982, allocations: 4 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.3982, allocations: 11.92 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.3987, allocations: 124 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.3988, allocations: 35.95 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.3989, allocations: 8 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.399, allocations: 15.92 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.399, allocations: 27.86 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.399, allocations: 4 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.3996, allocations: 315.4 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3996, allocations: 7.984 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.3996, allocations: 15.92 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.4, allocations: 195.5 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4, allocations: 4 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4, allocations: 0 / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.4, allocations: 4 kB / 1.288 GB, free: 8.105 MB / 0.9825 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.0006022/0.4006, allocations: 301.9 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4006, allocations: 8.031 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.4011, allocations: 68.84 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.4012, allocations: 110.5 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.4012, allocations: 4.375 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4012, allocations: 384 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.4015, allocations: 89.94 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4016, allocations: 3.938 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4016, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4016, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.402, allocations: 95.89 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.4026, allocations: 259.9 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.4029, allocations: 98.5 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.4031, allocations: 48.88 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4032, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4032, allocations: 42.48 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4032, allocations: 4 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007046/0.4039, allocations: 153.6 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.404, allocations: 63.34 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4041, allocations: 101.8 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4041, allocations: 25.7 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.4041, allocations: 92.27 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.4042, allocations: 7.891 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.4042, allocations: 21.7 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4044, allocations: 310.8 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.4046, allocations: 43.95 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.4048, allocations: 47.89 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.4051, allocations: 92.77 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4051, allocations: 3.984 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004372/0.4056, allocations: 125.6 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4056, allocations: 4.031 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4056, allocations: 4 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4056, allocations: 0 / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4058, allocations: 23.97 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4058, allocations: 3.984 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.4059, allocations: 15.97 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4059, allocations: 8 kB / 1.29 GB, free: 5.684 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.629e-05/0.406, allocations: 113.7 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.406, allocations: 4 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.4061, allocations: 7.312 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4061, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4061, allocations: 3.984 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4061, allocations: 3.984 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.4063, allocations: 140.7 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4063, allocations: 0 / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.4064, allocations: 28.22 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4064, allocations: 0 / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4064, allocations: 4 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4064, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4064, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.4069, allocations: 219.4 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.4069, allocations: 7.953 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.407, allocations: 11.95 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4071, allocations: 11.98 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.4071, allocations: 7.984 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4072, allocations: 3.938 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.4072, allocations: 83.28 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4072, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002448/0.4075, allocations: 15.94 kB / 1.29 GB, free: 4.965 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.0001831/0.4076, allocations: 111.8 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.4081, allocations: 91.91 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4081, allocations: 3.938 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.4083, allocations: 47.94 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4087, allocations: 16.06 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/0.4093, allocations: 195 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4097, allocations: 0.6768 MB / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.4097, allocations: 7.438 kB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4097, allocations: 4 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.00284/0.4126, allocations: 0.8909 MB / 1.292 GB, free: 2.867 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 -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/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: 11.298838902002899]