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.001899/0.001899, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.00239/0.00239, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.727/2.727, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.703e-05, allocations: 4.672 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003335/0.003372, allocations: 1.46 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005227, allocations: 0.76 MB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.005283, allocations: 4 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.005317, allocations: 0 / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.005365, allocations: 3.938 kB / 0.9531 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.005894, allocations: 141.1 kB / 0.9533 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.005981, allocations: 27.92 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.006087, allocations: 8 kB / 0.9533 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.006158, allocations: 19.92 kB / 0.9533 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.006215, allocations: 15.97 kB / 0.9533 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.006235, allocations: 4 kB / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.006654, allocations: 251.5 kB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.006671, allocations: 4 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.006699, allocations: 15.97 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.007053, allocations: 211.4 kB / 0.9538 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.007056, allocations: 3.938 kB / 0.9538 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007057, allocations: 3.938 kB / 0.9538 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.007061, allocations: 0 / 0.9538 GB, free: 8.605 MB / 0.8575 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.0005846/0.007646, allocations: 294 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.00769, allocations: 12.03 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.008198, allocations: 68.8 kB / 0.9542 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.008323, allocations: 109.7 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.008351, allocations: 384 / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.008372, allocations: 16.31 kB / 0.9543 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.008697, allocations: 78.19 kB / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.008709, allocations: 192 / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.008723, allocations: 4.359 kB / 0.9544 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.008735, allocations: 7.922 kB / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.009171, allocations: 91.91 kB / 0.9545 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.009713, allocations: 232.6 kB / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.01012, allocations: 98.44 kB / 0.9548 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.01035, allocations: 48.88 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01037, allocations: 4 kB / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.01041, allocations: 34.5 kB / 0.9549 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.01041, allocations: 0 / 0.9549 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0007872/0.01119, allocations: 169.5 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.01123, allocations: 51.41 kB / 0.9551 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.01133, allocations: 105.8 kB / 0.9552 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.01135, allocations: 29.77 kB / 0.9552 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.01141, allocations: 96.14 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.01143, allocations: 7.953 kB / 0.9553 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.01148, allocations: 13.72 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01161, allocations: 314.8 kB / 0.9556 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.01184, allocations: 43.95 kB / 0.9557 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.01207, allocations: 51.89 kB / 0.9557 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.01248, allocations: 88.83 kB / 0.9558 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01249, allocations: 0 / 0.9558 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004896/0.01298, allocations: 121.6 kB / 0.9559 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.013, allocations: 7.938 kB / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.013, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.01302, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.01322, allocations: 32.19 kB / 0.956 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01323, allocations: 0 / 0.956 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01335, allocations: 23.98 kB / 0.956 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.01337, allocations: 3.984 kB / 0.956 GB, free: 6.219 MB / 0.8575 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.843e-05/0.01346, allocations: 105.8 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.0135, allocations: 11.94 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.01353, allocations: 11.25 kB / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01354, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.01354, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01354, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.0137, allocations: 109.3 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0137, allocations: 0 / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.01385, allocations: 23.97 kB / 0.9562 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01385, allocations: 0 / 0.9562 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01386, allocations: 7.938 kB / 0.9562 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01386, allocations: 0 / 0.9562 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01386, allocations: 0 / 0.9562 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.01442, allocations: 227.3 kB / 0.9565 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.01443, allocations: 0 / 0.9565 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01445, allocations: 7.922 kB / 0.9565 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.0146, allocations: 15.98 kB / 0.9565 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.01466, allocations: 3.984 kB / 0.9565 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.01466, allocations: 0 / 0.9565 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.01472, allocations: 87.31 kB / 0.9566 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01472, allocations: 4 kB / 0.9566 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002557/0.01497, allocations: 11.94 kB / 0.9566 GB, free: 5.547 MB / 0.8575 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.0002025/0.01518, allocations: 111.2 kB / 0.9567 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.0157, allocations: 103.8 kB / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0157, allocations: 0 / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.01594, allocations: 55.94 kB / 0.9568 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01624, allocations: 4 kB / 0.9568 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.01688, allocations: 160.8 kB / 0.957 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.792e-05/0.01694, allocations: 63.34 kB / 0.9571 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.423e-05/0.01701, allocations: 8 kB / 0.9571 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.01705, allocations: 8.5 kB / 0.9571 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.01705, allocations: 0 / 0.9571 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of Templates: time 0.003926/0.02098, allocations: 0.8897 MB / 0.9579 GB, free: 4.117 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 7.823267303407192]