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.001568/0.001568, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001511/0.001511, allocations: 161 kB / 23.82 MB, free: 0.75 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.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.853/1.853, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.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.553e-06/1.553e-06, allocations: 0 / 0.8116 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.713e-05, allocations: 4.984 kB / 0.8116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00132/0.001347, allocations: 0.6509 MB / 0.8122 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.002844, allocations: 1.478 MB / 0.8137 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.002879, allocations: 0 / 0.8137 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.002902, allocations: 4.688 kB / 0.8137 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.002972, allocations: 6.406 kB / 0.8137 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.004518, allocations: 127.4 kB / 0.8138 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.0046, allocations: 29.25 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.00465, allocations: 0 / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.00471, allocations: 23.91 kB / 0.8138 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.00479, allocations: 21.52 kB / 0.8139 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.004808, allocations: 0 / 0.8139 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.005236, allocations: 247.5 kB / 0.8141 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.005257, allocations: 7.984 kB / 0.8141 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.005284, allocations: 8.469 kB / 0.8141 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.005614, allocations: 203.4 kB / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005618, allocations: 0.625 kB / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.694e-06/0.005619, allocations: 0 / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005624, allocations: 0.5312 kB / 0.8143 GB, free: 13.73 MB / 0.7292 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.0005093/0.006133, allocations: 405 kB / 0.8147 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.006182, allocations: 12.56 kB / 0.8147 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.006478, allocations: 43.38 kB / 0.8148 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.006617, allocations: 120.5 kB / 0.8149 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.006639, allocations: 4.375 kB / 0.8149 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.006675, allocations: 13.33 kB / 0.8149 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.006899, allocations: 75.92 kB / 0.815 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.006912, allocations: 192 / 0.815 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.006925, allocations: 1.312 kB / 0.815 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.006936, allocations: 3.938 kB / 0.815 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.97e-05/0.007005, allocations: 17.14 kB / 0.815 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.007182, allocations: 128.6 kB / 0.8151 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.007304, allocations: 60.36 kB / 0.8152 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.007347, allocations: 23.8 kB / 0.8152 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.007366, allocations: 0 / 0.8152 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.007392, allocations: 37.39 kB / 0.8152 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.007393, allocations: 1.5 kB / 0.8152 GB, free: 12.68 MB / 0.7292 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.001591/0.008984, allocations: 389.2 kB / 0.8156 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.009017, allocations: 59.41 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.009091, allocations: 173.9 kB / 0.8158 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.009105, allocations: 32.48 kB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.009141, allocations: 134.9 kB / 0.816 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.009173, allocations: 27.75 kB / 0.816 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.009216, allocations: 31.36 kB / 0.816 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.00934, allocations: 0.4884 MB / 0.8165 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.009386, allocations: 23.98 kB / 0.8165 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.00943, allocations: 26.7 kB / 0.8166 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.009514, allocations: 51.62 kB / 0.8166 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009515, allocations: 0 / 0.8166 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001494/0.009664, allocations: 101.6 kB / 0.8167 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.009677, allocations: 5.875 kB / 0.8167 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009682, allocations: 4.875 kB / 0.8167 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.009697, allocations: 7.984 kB / 0.8167 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.00983, allocations: 38.89 kB / 0.8168 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.009836, allocations: 4 kB / 0.8168 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.009901, allocations: 17.11 kB / 0.8168 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.009912, allocations: 9.047 kB / 0.8168 GB, free: 11.02 MB / 0.7292 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 7.166e-05/0.009983, allocations: 156.6 kB / 0.8169 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.01, allocations: 8.453 kB / 0.8169 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.01004, allocations: 21.69 kB / 0.817 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01004, allocations: 0 / 0.817 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01004, allocations: 4 kB / 0.817 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01005, allocations: 3.984 kB / 0.817 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.01055, allocations: 448.1 kB / 0.8174 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01056, allocations: 0.6562 kB / 0.8174 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.01064, allocations: 33.47 kB / 0.8174 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.01064, allocations: 4 kB / 0.8174 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01065, allocations: 6.734 kB / 0.8174 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01066, allocations: 4 kB / 0.8174 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01066, allocations: 0 / 0.8174 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.01083, allocations: 255.2 kB / 0.8177 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.01084, allocations: 11.94 kB / 0.8177 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.01085, allocations: 7.938 kB / 0.8177 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.01094, allocations: 22.36 kB / 0.8177 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.01097, allocations: 7.984 kB / 0.8177 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.01098, allocations: 7.984 kB / 0.8177 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.01102, allocations: 135.2 kB / 0.8179 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 0.8179 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001884/0.01121, allocations: 35.92 kB / 0.8179 GB, free: 9.793 MB / 0.7292 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.000207/0.01141, allocations: 131.1 kB / 0.818 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01156, allocations: 75.58 kB / 0.8181 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01156, allocations: 0 / 0.8181 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.01162, allocations: 43.61 kB / 0.8181 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.01178, allocations: 24.7 kB / 0.8182 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.01226, allocations: 273.4 kB / 0.8184 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.01229, allocations: 59.34 kB / 0.8185 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.964e-05/0.01235, allocations: 24.67 kB / 0.8185 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.0124, allocations: 20.48 kB / 0.8185 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.0124, allocations: 0 / 0.8185 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of Templates: time 0.003238/0.01564, allocations: 1.803 MB / 0.8203 GB, free: 7.301 MB / 0.7292 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","",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.288249732926488]