Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.001687/0.001687, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00187/0.00187, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.438/1.438, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.89 kB / 1.059 GB, free: 300 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 160.7 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002463/0.3288, allocations: 0.6352 MB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.3316, allocations: 1.467 MB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.3316, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.3316, allocations: 7.938 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.3317, allocations: 0 / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.3322, allocations: 123.5 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.3323, allocations: 31.84 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.3324, allocations: 7.984 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.3325, allocations: 15.94 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.3325, allocations: 19.91 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3326, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006799/0.3332, allocations: 315.4 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.3333, allocations: 7.922 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3333, allocations: 15.88 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.3337, allocations: 187.5 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3337, allocations: 3.984 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3337, allocations: 0 / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3337, allocations: 0 / 1.219 GB, free: 12.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006858/0.3344, allocations: 382.9 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3344, allocations: 8.031 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.335, allocations: 68.81 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3352, allocations: 172.4 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3352, allocations: 384 / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.3352, allocations: 12.36 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.3356, allocations: 81.89 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3356, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3356, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3356, allocations: 0 / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.3361, allocations: 71.92 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.3364, allocations: 177.5 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.337, allocations: 130.5 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.3373, allocations: 40.95 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3373, allocations: 3.984 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.3373, allocations: 38.44 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3373, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.006076/0.3434, allocations: 0.7819 MB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.3435, allocations: 51.41 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3436, allocations: 109.8 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.3437, allocations: 37.64 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.3437, allocations: 80.14 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.3438, allocations: 31.73 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.3438, allocations: 29.7 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.344, allocations: 314.8 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.3446, allocations: 95.89 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.3452, allocations: 103.9 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.3465, allocations: 188.7 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3465, allocations: 0 / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001442/0.348, allocations: 253.5 kB / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.348, allocations: 5.875 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.348, allocations: 0 / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.348, allocations: 0 / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3485, allocations: 60.62 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3485, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3488, allocations: 35.95 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3488, allocations: 4 kB / 1.222 GB, free: 8.875 MB / 0.9669 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 (9): * Single equations (assignments): 9 * 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 0.0001299/0.3489, allocations: 117.8 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3489, allocations: 7.953 kB / 1.222 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.349, allocations: 12.36 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.349, allocations: 0 / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.349, allocations: 8 kB / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.349, allocations: 0 / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.3514, allocations: 0.5936 MB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3514, allocations: 8 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.3517, allocations: 55.88 kB / 1.223 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3518, allocations: 0 / 1.223 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3518, allocations: 7.984 kB / 1.223 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.3518, allocations: 4 kB / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3518, allocations: 0 / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3531, allocations: 344.9 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.3532, allocations: 85.06 kB / 1.223 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3532, allocations: 4 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.3536, allocations: 35.95 kB / 1.223 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.3537, allocations: 15.92 kB / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3537, allocations: 4 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.046e-05/0.3538, allocations: 91.27 kB / 1.224 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3538, allocations: 0 / 1.224 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00049/0.3543, allocations: 39.88 kB / 1.224 GB, free: 7.34 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0003036/0.3546, allocations: 135 kB / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.3558, allocations: 207.9 kB / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3559, allocations: 0 / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.3565, allocations: 104.2 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3569, allocations: 14 kB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.359, allocations: 426.1 kB / 1.224 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.3595, allocations: 0.6807 MB / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.3596, allocations: 20.66 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3597, allocations: 23.42 kB / 1.225 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/0.3597, allocations: 4 kB / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.006259/0.366, allocations: 1.69 MB / 1.227 GB, free: 3.988 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.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.086376437917352]