Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.0008157/0.0008157, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001163/0.001163, allocations: 165 kB / 23.82 MB, free: 0.7422 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.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.795e-05, allocations: 9.719 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001195/0.001213, allocations: 0.7947 MB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.002623, allocations: 1.502 MB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.002654, allocations: 0 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.002684, allocations: 4.719 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.002723, allocations: 0 / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.00313, allocations: 150.5 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.0032, allocations: 55.88 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.003236, allocations: 5.75 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.003317, allocations: 35.89 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.003363, allocations: 23.97 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.003379, allocations: 4 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.003635, allocations: 252.6 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.003651, allocations: 11.97 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.003675, allocations: 19.92 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.003914, allocations: 221.1 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003916, allocations: 3.938 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003916, allocations: 0 / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.00392, allocations: 3.938 kB / 0.8146 GB, free: 14.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000421/0.004341, allocations: 426.7 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.004374, allocations: 8.031 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.004593, allocations: 57.55 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/0.00467, allocations: 109.1 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.004687, allocations: 10.03 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.004714, allocations: 8.375 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.004918, allocations: 155 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004929, allocations: 4.188 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.004939, allocations: 1.312 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.004949, allocations: 7.922 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.005012, allocations: 37.08 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.00538, allocations: 317 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.005518, allocations: 82.91 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.005553, allocations: 28.8 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.005566, allocations: 0 / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.005586, allocations: 37.39 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.005587, allocations: 0.8125 kB / 0.8158 GB, free: 13.2 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=11): time 0.006958/0.01255, allocations: 2.001 MB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.01257, allocations: 51.41 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.01263, allocations: 161.9 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.01266, allocations: 29.7 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.01271, allocations: 142.8 kB / 0.8182 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.01275, allocations: 39.64 kB / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.01286, allocations: 75.23 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.01296, allocations: 0.4962 MB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.01315, allocations: 139.9 kB / 0.8189 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.01333, allocations: 147 kB / 0.819 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.01372, allocations: 287.6 kB / 0.8193 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01372, allocations: 0 / 0.8193 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005541/0.01427, allocations: 377.4 kB / 0.8197 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01429, allocations: 4 kB / 0.8197 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01429, allocations: 4 kB / 0.8197 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.01431, allocations: 3.938 kB / 0.8197 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.01469, allocations: 91.83 kB / 0.8198 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01469, allocations: 3.984 kB / 0.8198 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.01493, allocations: 27.97 kB / 0.8198 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.01496, allocations: 27.88 kB / 0.8198 GB, free: 9.02 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 (13): * Single equations (assignments): 13 * 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.0001142/0.01508, allocations: 164.5 kB / 0.82 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.01515, allocations: 15.95 kB / 0.82 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.01519, allocations: 8.125 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01519, allocations: 0 / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.0152, allocations: 4 kB / 0.82 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0152, allocations: 0 / 0.82 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009684/0.01617, allocations: 0.8862 MB / 0.8209 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01617, allocations: 11.94 kB / 0.8209 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.01654, allocations: 87.83 kB / 0.821 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01654, allocations: 3.984 kB / 0.821 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.01657, allocations: 23.94 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01658, allocations: 0 / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01658, allocations: 0 / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.01738, allocations: 0.6556 MB / 0.8216 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.01747, allocations: 35.86 kB / 0.8217 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.01751, allocations: 4 kB / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.01778, allocations: 31.95 kB / 0.8217 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.01784, allocations: 27.92 kB / 0.8217 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.01787, allocations: 23.88 kB / 0.8217 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.0179, allocations: 135.2 kB / 0.8219 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0179, allocations: 0 / 0.8219 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002474/0.01815, allocations: 55.88 kB / 0.8219 GB, free: 6.727 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001282/0.01828, allocations: 107.2 kB / 0.822 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.01875, allocations: 331.3 kB / 0.8223 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01876, allocations: 0 / 0.8223 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.01898, allocations: 187.8 kB / 0.8225 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.0192, allocations: 39.92 kB / 0.8226 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.02091, allocations: 0.6266 MB / 0.8232 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.02102, allocations: 63.3 kB / 0.8232 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002821/0.0213, allocations: 88.72 kB / 0.8233 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.0215, allocations: 56.36 kB / 0.8234 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4e-07/0.0215, allocations: 4 kB / 0.8234 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of Templates: time 0.00452/0.02602, allocations: 3.775 MB / 0.8271 GB, free: 1.426 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.340995769947767]