Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009549/0.0009549, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001046/0.001046, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.205/2.205, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.875 kB / 0.8794 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.559e-05, allocations: 5.906 kB / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001092/0.001107, allocations: 0.647 MB / 0.8801 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.002443, allocations: 1.476 MB / 0.8815 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.00247, allocations: 6.156 kB / 0.8815 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.002484, allocations: 0 / 0.8815 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.002546, allocations: 3.938 kB / 0.8815 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.002852, allocations: 125.8 kB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.002903, allocations: 23.92 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.002936, allocations: 3.984 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.002982, allocations: 20.64 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.003032, allocations: 15.97 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.003043, allocations: 1.656 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.003293, allocations: 251.4 kB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.003309, allocations: 7.938 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.003325, allocations: 11.98 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.003524, allocations: 195.5 kB / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003527, allocations: 1.344 kB / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.51e-07/0.003527, allocations: 3.938 kB / 0.8822 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.00353, allocations: 3.938 kB / 0.8822 GB, free: 3.168 MB / 0.8386 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.0003284/0.003858, allocations: 404.1 kB / 0.8826 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.003891, allocations: 12.03 kB / 0.8826 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.004081, allocations: 40.89 kB / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/0.004163, allocations: 128.5 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.004174, allocations: 4.375 kB / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.004188, allocations: 384 / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.004308, allocations: 74.92 kB / 0.8828 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004316, allocations: 192 / 0.8828 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.004324, allocations: 384 / 0.8828 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004328, allocations: 3.938 kB / 0.8828 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.004365, allocations: 19.92 kB / 0.8828 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.004467, allocations: 105.2 kB / 0.8829 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.004541, allocations: 63.06 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.004561, allocations: 15.69 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.004571, allocations: 0 / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.004587, allocations: 37.39 kB / 0.883 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.004588, allocations: 0 / 0.883 GB, free: 2.156 MB / 0.8386 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.0009996/0.005588, allocations: 373.2 kB / 0.8834 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.005616, allocations: 63.41 kB / 0.8835 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.00568, allocations: 165.9 kB / 0.8836 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005693, allocations: 25.7 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.005726, allocations: 134.9 kB / 0.8838 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.005759, allocations: 35.72 kB / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.005799, allocations: 31.36 kB / 0.8838 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.005977, allocations: 496.1 kB / 0.8843 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.006013, allocations: 23.92 kB / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.006047, allocations: 19.98 kB / 0.8843 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.006112, allocations: 44.42 kB / 0.8844 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006113, allocations: 3.938 kB / 0.8844 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000119/0.006232, allocations: 93.84 kB / 0.8845 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.006241, allocations: 4 kB / 0.8845 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.006245, allocations: 0 / 0.8845 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.006254, allocations: 3.938 kB / 0.8845 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.006367, allocations: 39.97 kB / 0.8845 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.00637, allocations: 4 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.006436, allocations: 23.97 kB / 0.8846 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.006444, allocations: 4 kB / 0.8846 GB, free: 0.5234 MB / 0.8386 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 6.951e-05/0.006514, allocations: 168.5 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.00653, allocations: 7.953 kB / 0.8847 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.006557, allocations: 12.42 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.00656, allocations: 3.938 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006562, allocations: 4 kB / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006565, allocations: 0 / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.007002, allocations: 405.2 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007003, allocations: 0 / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.007092, allocations: 47.97 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007095, allocations: 3.938 kB / 0.8852 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.007104, allocations: 7.984 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007106, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.007107, allocations: 0 / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.007258, allocations: 251.3 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.007267, allocations: 11.88 kB / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.00728, allocations: 8 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.00736, allocations: 15.98 kB / 0.8855 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007387, allocations: 11.98 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.007395, allocations: 7.984 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.007433, allocations: 131.6 kB / 0.8856 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007433, allocations: 0 / 0.8856 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001863/0.00762, allocations: 43.86 kB / 0.8857 GB, free: 15.32 MB / 0.8542 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.0001178/0.007737, allocations: 131 kB / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.007851, allocations: 63.64 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007853, allocations: 3.938 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.007899, allocations: 35.67 kB / 0.8859 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.00806, allocations: 23.86 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.00849, allocations: 273.8 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.235e-05/0.008523, allocations: 64 kB / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.047e-05/0.008583, allocations: 24.72 kB / 0.8862 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.008663, allocations: 82.19 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.008663, allocations: 0 / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of Templates: time 0.003041/0.0117, allocations: 1.997 MB / 0.8883 GB, free: 12.58 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.325807641725987]