Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001164/0.001164, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001224/0.001224, allocations: 169 kB / 24.28 MB, free: 276 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.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.787/1.787, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.263e-05, allocations: 4.281 kB / 0.7872 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001123/0.001146, allocations: 0.6417 MB / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.002603, allocations: 1.472 MB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.002634, allocations: 0 / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.002652, allocations: 5.094 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.00273, allocations: 7.984 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.003081, allocations: 125.7 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.003143, allocations: 27.39 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.003185, allocations: 7.938 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.003238, allocations: 15.92 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.003295, allocations: 27.89 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00331, allocations: 0 / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.003744, allocations: 247.5 kB / 0.7897 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.003763, allocations: 4 kB / 0.7897 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.003786, allocations: 7.922 kB / 0.7897 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.004014, allocations: 195.5 kB / 0.7899 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004016, allocations: 0 / 0.7899 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004017, allocations: 0.7188 kB / 0.7899 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004022, allocations: 0 / 0.7899 GB, free: 9.996 MB / 0.7448 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.000428/0.00445, allocations: 405.8 kB / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.004491, allocations: 12.03 kB / 0.7903 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.004722, allocations: 46.77 kB / 0.7903 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.00483, allocations: 125.8 kB / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.004845, allocations: 384 / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.004865, allocations: 4.375 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.005021, allocations: 84.45 kB / 0.7905 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.00503, allocations: 192 / 0.7905 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.00504, allocations: 1.375 kB / 0.7905 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.005049, allocations: 3.938 kB / 0.7905 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.005098, allocations: 29.5 kB / 0.7905 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.005239, allocations: 120.7 kB / 0.7907 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.005329, allocations: 51.05 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.005363, allocations: 28.27 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005377, allocations: 0 / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.005401, allocations: 38.08 kB / 0.7908 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.005401, allocations: 0 / 0.7908 GB, free: 8.945 MB / 0.7448 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.001176/0.006577, allocations: 393.8 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.006614, allocations: 66.44 kB / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.006696, allocations: 169.9 kB / 0.7914 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006709, allocations: 29.7 kB / 0.7914 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.006747, allocations: 130.9 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.006784, allocations: 35.69 kB / 0.7916 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.006827, allocations: 31.36 kB / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.00694, allocations: 0.4884 MB / 0.7921 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.006992, allocations: 19.98 kB / 0.7921 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.007035, allocations: 25.33 kB / 0.7921 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.00712, allocations: 55.84 kB / 0.7922 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.007121, allocations: 0.625 kB / 0.7922 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001403/0.007261, allocations: 98.22 kB / 0.7923 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.007273, allocations: 8.812 kB / 0.7923 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007278, allocations: 7.938 kB / 0.7923 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.00729, allocations: 1.062 kB / 0.7923 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.007423, allocations: 34.06 kB / 0.7923 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.007429, allocations: 4 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.007494, allocations: 24.38 kB / 0.7923 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.007504, allocations: 4 kB / 0.7923 GB, free: 7.289 MB / 0.7448 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.441e-05/0.007578, allocations: 156.6 kB / 0.7925 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.007595, allocations: 7.953 kB / 0.7925 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.007636, allocations: 24.36 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007638, allocations: 0 / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.007641, allocations: 0 / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007644, allocations: 0 / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.008176, allocations: 456.6 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008178, allocations: 0 / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.008267, allocations: 40.92 kB / 0.793 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.00827, allocations: 0.5 kB / 0.793 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.008281, allocations: 4.594 kB / 0.793 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008283, allocations: 1.375 kB / 0.793 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.008285, allocations: 0 / 0.793 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.008473, allocations: 259.2 kB / 0.7932 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.008486, allocations: 13.2 kB / 0.7933 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.008502, allocations: 0 / 0.7933 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.008583, allocations: 25.06 kB / 0.7933 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.008623, allocations: 15.98 kB / 0.7933 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.008632, allocations: 8 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.008676, allocations: 131.2 kB / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.008677, allocations: 0 / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001997/0.008876, allocations: 35.94 kB / 0.7935 GB, free: 6.059 MB / 0.7448 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.0001595/0.009036, allocations: 127.1 kB / 0.7936 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.009202, allocations: 75.58 kB / 0.7937 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009204, allocations: 0 / 0.7937 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/0.009262, allocations: 51.59 kB / 0.7937 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.009441, allocations: 15.94 kB / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.009952, allocations: 269.5 kB / 0.794 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.009991, allocations: 63.34 kB / 0.794 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.01005, allocations: 16.73 kB / 0.7941 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.0101, allocations: 24.48 kB / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.0101, allocations: 0 / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.003373/0.01348, allocations: 1.82 MB / 0.7959 GB, free: 3.547 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.05597966699861]