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.0009752/0.0009752, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0008997/0.0008997, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9472/0.9472, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.827/1.827, 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.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.803e-06/1.803e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.692e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001277/0.001304, allocations: 0.6439 MB / 0.8122 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.002715, allocations: 1.48 MB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.002744, allocations: 0 / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.002766, allocations: 3.938 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.002836, allocations: 9.219 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.00319, allocations: 129.7 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.00325, allocations: 27.86 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.003284, allocations: 4.703 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.00333, allocations: 15.98 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.003383, allocations: 13.17 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.003398, allocations: 4 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.003661, allocations: 251.4 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.003677, allocations: 6.094 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.003698, allocations: 11.92 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.003912, allocations: 195.5 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003914, allocations: 0 / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003915, allocations: 0 / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.00392, allocations: 0 / 0.8143 GB, free: 14.88 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.0003908/0.004311, allocations: 402 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.004347, allocations: 12.03 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.00455, allocations: 46.28 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.004646, allocations: 133.4 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00466, allocations: 384 / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.004678, allocations: 4.891 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.00483, allocations: 76.3 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.004842, allocations: 192 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.004854, allocations: 1.656 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.004863, allocations: 3.938 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.004915, allocations: 19.98 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.00504, allocations: 121.2 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.005127, allocations: 63.8 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.005157, allocations: 17.25 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.005169, allocations: 0 / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.00519, allocations: 37.52 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.005191, allocations: 4 kB / 0.8152 GB, free: 13.84 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.001104/0.006294, allocations: 401.4 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.006325, allocations: 59.97 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.006402, allocations: 171.8 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.006416, allocations: 29.7 kB / 0.8159 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.006449, allocations: 130.9 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.006482, allocations: 35.69 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.006521, allocations: 31.36 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.006613, allocations: 497 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.006662, allocations: 27.98 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.006704, allocations: 24.2 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.217e-05/0.006786, allocations: 55.61 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006787, allocations: 0 / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000141/0.006928, allocations: 97.61 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.006939, allocations: 4 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006944, allocations: 3.938 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006956, allocations: 5.062 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.00709, allocations: 41.23 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.007095, allocations: 4 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.007157, allocations: 17.33 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.00717, allocations: 17.05 kB / 0.8168 GB, free: 12.16 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 5.985e-05/0.00723, allocations: 152.6 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.007248, allocations: 12.86 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.00728, allocations: 16.38 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007282, allocations: 3.984 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007285, allocations: 5.031 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.007287, allocations: 0 / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.007753, allocations: 442.4 kB / 0.8174 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007754, allocations: 0 / 0.8174 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.007844, allocations: 35.95 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007846, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.007856, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007857, allocations: 4.906 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.00786, allocations: 7.922 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.008026, allocations: 260.2 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.008035, allocations: 4 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.008048, allocations: 1.094 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.008128, allocations: 32.06 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.008159, allocations: 7.984 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.008166, allocations: 4 kB / 0.8178 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.008203, allocations: 131.2 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008203, allocations: 4 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001771/0.008381, allocations: 35.86 kB / 0.8179 GB, free: 10.95 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.0001365/0.008517, allocations: 131.2 kB / 0.818 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.008665, allocations: 68.31 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008667, allocations: 0 / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/0.008721, allocations: 49.25 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.008892, allocations: 19.88 kB / 0.8182 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.009363, allocations: 281.5 kB / 0.8184 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.009396, allocations: 59.3 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.945e-05/0.009456, allocations: 29.31 kB / 0.8185 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.009508, allocations: 24.42 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.009509, allocations: 0 / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.003238/0.01275, allocations: 1.929 MB / 0.8204 GB, free: 8.316 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.820675336290151]