Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0017/0.0017, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00218/0.00218, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.4892 GB / 0.7951 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_12_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.002114/0.002114, allocations: 70.77 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3204, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00278/0.3232, allocations: 1.465 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3246, allocations: 0.7633 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.3246, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.3246, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.3247, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.3251, allocations: 125 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.3252, allocations: 35.92 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.3253, allocations: 3.984 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.3254, allocations: 15.94 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.3254, allocations: 23.95 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3254, allocations: 4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.3258, allocations: 247.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3259, allocations: 7.938 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.3259, allocations: 15.97 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.3262, allocations: 183.4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3262, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3262, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3262, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 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.000573/0.3268, allocations: 309.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3268, allocations: 8.031 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.3273, allocations: 68.86 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3274, allocations: 114.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3274, allocations: 384 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3274, allocations: 4.375 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.3278, allocations: 85.94 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3278, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3278, allocations: 4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3278, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.3282, allocations: 95.84 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.3287, allocations: 228.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.3291, allocations: 102.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.3293, allocations: 48.88 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.3293, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3294, allocations: 42.55 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3294, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007973/0.3302, allocations: 165.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3302, allocations: 51.53 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.3303, allocations: 105.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3303, allocations: 25.7 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.3304, allocations: 88.09 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.3304, allocations: 15.83 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.3304, allocations: 17.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3306, allocations: 310.8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3308, allocations: 51.95 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.331, allocations: 39.95 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.3314, allocations: 92.77 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3314, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004507/0.3318, allocations: 129.5 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3319, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3319, allocations: 12.02 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3319, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.332, allocations: 19.97 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3321, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3322, allocations: 19.97 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3322, allocations: 4 kB / 1.331 GB, free: 12.53 MB / 1.029 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.346e-05/0.3323, allocations: 121.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3323, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.3323, allocations: 3.312 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3323, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3323, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3323, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3325, allocations: 117.2 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.3325, allocations: 7.922 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3327, allocations: 23.92 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3327, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3327, allocations: 3.984 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.3327, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3327, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.3332, allocations: 223.4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.3332, allocations: 7.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3332, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3334, allocations: 20.27 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3334, allocations: 3.984 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3334, allocations: 8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.3335, allocations: 83.28 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3335, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002421/0.3337, allocations: 19.92 kB / 1.332 GB, free: 11.83 MB / 1.029 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.0001496/0.3338, allocations: 95.25 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.3343, allocations: 103.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3343, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.3346, allocations: 48.02 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3348, allocations: 15.81 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.3354, allocations: 183.2 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.833e-05/0.3355, allocations: 59.34 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.3355, allocations: 15.44 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3355, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Templates: time 0.002435/0.338, allocations: 0.9009 MB / 1.333 GB, free: 10.36 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.127223320771009]