Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001839/0.001839, allocations: 83.75 kB / 20.23 MB, free: 4.18 MB / 18.57 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.001937/0.001937, allocations: 157.8 kB / 23.54 MB, free: 0.875 MB / 18.57 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.004/3.004, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.704e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001713/0.00174, allocations: 0.6374 MB / 0.8115 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.0043, allocations: 1.451 MB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.004328, allocations: 0 / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.004343, allocations: 3.938 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.004418, allocations: 4.609 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.004898, allocations: 126.1 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.00498, allocations: 23.92 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.00503, allocations: 8.672 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.005115, allocations: 20.83 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.005195, allocations: 15.91 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.005219, allocations: 7.938 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.005669, allocations: 244.1 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.005691, allocations: 9.234 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.005719, allocations: 11.92 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.006063, allocations: 199.5 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006066, allocations: 0 / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006068, allocations: 2.062 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.006072, allocations: 0 / 0.8136 GB, free: 15.27 MB / 0.7761 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.0006027/0.006674, allocations: 399.8 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.006712, allocations: 8.938 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.007037, allocations: 54.55 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.007176, allocations: 116.5 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.007194, allocations: 5.125 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.007211, allocations: 384 / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.007428, allocations: 72.06 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.007442, allocations: 4.172 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.007451, allocations: 384 / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.007458, allocations: 5.188 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.007727, allocations: 49.33 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.007919, allocations: 124.6 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.008308, allocations: 102.1 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.008455, allocations: 41.97 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.008481, allocations: 3.938 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.008529, allocations: 33.39 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.008531, allocations: 0 / 0.8145 GB, free: 14.15 MB / 0.7761 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.003218/0.01175, allocations: 0.5739 MB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.01179, allocations: 52.56 kB / 0.8152 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01194, allocations: 177.9 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01196, allocations: 25.7 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.01204, allocations: 139.8 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.01209, allocations: 35.73 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.01217, allocations: 32.45 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.01241, allocations: 496.1 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.01272, allocations: 70.5 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.01302, allocations: 75.28 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.01361, allocations: 143.5 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01361, allocations: 0 / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006754/0.01428, allocations: 188 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.0143, allocations: 8 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01431, allocations: 3.938 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01432, allocations: 0 / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.01458, allocations: 43.89 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01459, allocations: 4 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.01474, allocations: 19.98 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.01477, allocations: 7.984 kB / 0.8166 GB, free: 12.05 MB / 0.7761 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.000128/0.01489, allocations: 164.5 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.01492, allocations: 7.953 kB / 0.8167 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.01497, allocations: 16.38 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01498, allocations: 4 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01498, allocations: 0 / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01498, allocations: 0 / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.01645, allocations: 0.516 MB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01645, allocations: 3.938 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.01665, allocations: 48.02 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01666, allocations: 0 / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01667, allocations: 4 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01667, allocations: 0 / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01668, allocations: 4 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.01746, allocations: 347.1 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.01747, allocations: 3.953 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01749, allocations: 8 kB / 0.8176 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.01768, allocations: 19.98 kB / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.01773, allocations: 15.91 kB / 0.8177 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01774, allocations: 4 kB / 0.8177 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.712e-05/0.01783, allocations: 135.2 kB / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01783, allocations: 0 / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002871/0.01811, allocations: 35.94 kB / 0.8178 GB, free: 10.64 MB / 0.7761 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.0002409/0.01835, allocations: 131.1 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006954/0.01905, allocations: 171.5 kB / 0.8181 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01905, allocations: 0 / 0.8181 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.0194, allocations: 87.69 kB / 0.8182 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01964, allocations: 19.92 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02078, allocations: 317.3 kB / 0.8185 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.768e-05/0.02086, allocations: 75.25 kB / 0.8186 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00011/0.02097, allocations: 29.31 kB / 0.8186 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.02105, allocations: 16.48 kB / 0.8187 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.02105, allocations: 4 kB / 0.8187 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of Templates: time 0.00531/0.02636, allocations: 1.797 MB / 0.8204 GB, free: 7.961 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.00247909699101]