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.001709/0.001709, allocations: 102.1 kB / 19.7 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.002373/0.002373, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8 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.187/3.187, allocations: 0.49 GB / 0.7958 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.002045/0.002045, allocations: 66.91 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002742/0.3295, allocations: 1.467 MB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3309, allocations: 0.849 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.331, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.331, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.3311, allocations: 7.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.3315, allocations: 124.3 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.253e-05/0.3316, allocations: 43.84 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.3317, allocations: 3.984 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.3317, allocations: 19.92 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.3318, allocations: 19.92 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3318, allocations: 0 / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.3323, allocations: 323.4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.3323, allocations: 7.984 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.3324, allocations: 15.92 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.3327, allocations: 195.5 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3327, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3327, allocations: 4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3327, allocations: 0 / 1.33 GB, free: 14.35 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.0005572/0.3332, allocations: 301.9 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3333, allocations: 8.031 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.3338, allocations: 68.84 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3339, allocations: 110.5 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3339, allocations: 4.375 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3339, allocations: 384 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.3342, allocations: 89.88 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3342, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3342, allocations: 4 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3342, allocations: 3.984 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.3346, allocations: 91.89 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.3352, allocations: 263.9 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3356, allocations: 98.44 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.3358, allocations: 52.88 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3358, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3358, allocations: 34.55 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3358, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0007297/0.3365, allocations: 161.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3366, allocations: 55.41 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.3367, allocations: 109.8 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3367, allocations: 25.7 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.3367, allocations: 88.03 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3368, allocations: 11.94 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.3368, allocations: 13.7 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3369, allocations: 314.8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.3371, allocations: 47.95 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3373, allocations: 47.95 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.3377, allocations: 92.77 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3377, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004493/0.3382, allocations: 125.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3382, allocations: 10.12 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3382, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3382, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.3384, allocations: 27.91 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3384, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3385, allocations: 24 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3385, allocations: 0 / 1.332 GB, free: 11.93 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 8.716e-05/0.3386, allocations: 117.8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3386, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.3387, allocations: 11.31 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3387, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3387, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3387, allocations: 3.984 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3388, allocations: 136.7 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3388, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.339, allocations: 23.97 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.339, allocations: 4 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.339, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.339, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.339, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.3395, allocations: 227.3 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.3395, allocations: 8 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3395, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.3397, allocations: 19.91 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.3397, allocations: 7.984 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3397, allocations: 32 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.3398, allocations: 87.28 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3398, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002456/0.34, allocations: 15.94 kB / 1.333 GB, free: 11.2 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.0001601/0.3402, allocations: 99.23 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.3407, allocations: 91.91 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3407, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3409, allocations: 59.94 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3412, allocations: 9.656 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.3418, allocations: 183.2 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3421, allocations: 0.6807 MB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.3421, allocations: 7.438 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3421, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of Templates: time 0.00259/0.3447, allocations: 0.9031 MB / 1.335 GB, free: 9.105 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.075678155000787]