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.001438/0.001438, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001007/0.001007, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9497/0.9497, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.802/1.802, allocations: 359 MB / 0.6063 GB, free: 10.89 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 2.234e-06/2.234e-06, allocations: 0 / 0.7884 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.81e-05/4.034e-05, allocations: 5.891 kB / 0.7884 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002989/0.003029, allocations: 0.6547 MB / 0.789 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.005695, allocations: 1.466 MB / 0.7904 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.005768, allocations: 0 / 0.7904 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.005796, allocations: 0 / 0.7904 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.005909, allocations: 3.938 kB / 0.7904 GB, free: 8.922 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.006513, allocations: 126.2 kB / 0.7906 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.006605, allocations: 27.91 kB / 0.7906 GB, free: 8.773 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.006663, allocations: 9.359 kB / 0.7906 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.006739, allocations: 15.92 kB / 0.7906 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.00684, allocations: 15.98 kB / 0.7906 GB, free: 8.734 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.006862, allocations: 3.938 kB / 0.7906 GB, free: 8.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.00735, allocations: 248.5 kB / 0.7909 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.007377, allocations: 11.92 kB / 0.7909 GB, free: 8.477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.007401, allocations: 11.92 kB / 0.7909 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.007753, allocations: 192.9 kB / 0.7911 GB, free: 8.277 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.007759, allocations: 4 kB / 0.7911 GB, free: 8.273 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.00776, allocations: 0 / 0.7911 GB, free: 8.273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.007765, allocations: 0 / 0.7911 GB, free: 8.273 MB / 0.698 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.0005621/0.008327, allocations: 406.1 kB / 0.7915 GB, free: 7.844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.008382, allocations: 8.031 kB / 0.7915 GB, free: 7.836 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.008684, allocations: 46.38 kB / 0.7915 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.00881, allocations: 112.6 kB / 0.7916 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.008831, allocations: 5.969 kB / 0.7916 GB, free: 7.652 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.008855, allocations: 8.328 kB / 0.7916 GB, free: 7.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.00908, allocations: 68.58 kB / 0.7917 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.009094, allocations: 4.172 kB / 0.7917 GB, free: 7.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.009109, allocations: 4.375 kB / 0.7917 GB, free: 7.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.009118, allocations: 3.938 kB / 0.7917 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.009185, allocations: 22.52 kB / 0.7917 GB, free: 7.539 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.009372, allocations: 109.2 kB / 0.7918 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.00949, allocations: 47.05 kB / 0.7919 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.009524, allocations: 19.86 kB / 0.7919 GB, free: 7.324 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.009546, allocations: 4 kB / 0.7919 GB, free: 7.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.009589, allocations: 41.86 kB / 0.792 GB, free: 7.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 3.306e-06/0.009593, allocations: 0.7188 kB / 0.792 GB, free: 7.27 MB / 0.698 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.001785/0.01138, allocations: 380 kB / 0.7923 GB, free: 6.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.01142, allocations: 55.41 kB / 0.7924 GB, free: 6.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.01153, allocations: 169.9 kB / 0.7925 GB, free: 6.656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.01155, allocations: 29.7 kB / 0.7926 GB, free: 6.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.01161, allocations: 130.9 kB / 0.7927 GB, free: 6.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.01167, allocations: 35.69 kB / 0.7927 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.01173, allocations: 39.28 kB / 0.7928 GB, free: 6.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.0119, allocations: 0.4884 MB / 0.7932 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.01196, allocations: 16.55 kB / 0.7932 GB, free: 5.891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.01201, allocations: 21.89 kB / 0.7933 GB, free: 5.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.01212, allocations: 35.69 kB / 0.7933 GB, free: 5.832 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01212, allocations: 0 / 0.7933 GB, free: 5.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002163/0.01233, allocations: 103.8 kB / 0.7934 GB, free: 5.727 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.01235, allocations: 4 kB / 0.7934 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01236, allocations: 0 / 0.7934 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.01237, allocations: 3.938 kB / 0.7934 GB, free: 5.719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.01257, allocations: 37.41 kB / 0.7934 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01258, allocations: 3.938 kB / 0.7935 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.01269, allocations: 26.16 kB / 0.7935 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01271, allocations: 4 kB / 0.7935 GB, free: 5.652 MB / 0.698 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 0.0001074/0.01282, allocations: 157.1 kB / 0.7936 GB, free: 5.488 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01285, allocations: 11.98 kB / 0.7936 GB, free: 5.477 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.0129, allocations: 15.17 kB / 0.7937 GB, free: 5.465 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.0129, allocations: 7.938 kB / 0.7937 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.01291, allocations: 0 / 0.7937 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01291, allocations: 0 / 0.7937 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.01369, allocations: 404.2 kB / 0.794 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.0137, allocations: 0 / 0.794 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.01384, allocations: 41.97 kB / 0.7941 GB, free: 4.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.01385, allocations: 3.938 kB / 0.7941 GB, free: 4.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01387, allocations: 9.766 kB / 0.7941 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01387, allocations: 3.938 kB / 0.7941 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01387, allocations: 4.078 kB / 0.7941 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.01415, allocations: 256.3 kB / 0.7944 GB, free: 4.688 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.01417, allocations: 4.531 kB / 0.7944 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.0142, allocations: 11.98 kB / 0.7944 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.01435, allocations: 21.8 kB / 0.7944 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.0144, allocations: 7.984 kB / 0.7944 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01442, allocations: 8.859 kB / 0.7944 GB, free: 4.637 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.01449, allocations: 131.2 kB / 0.7945 GB, free: 4.508 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.01449, allocations: 1.344 kB / 0.7945 GB, free: 4.508 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003907/0.01488, allocations: 39.86 kB / 0.7946 GB, free: 4.469 MB / 0.698 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.0003146/0.0152, allocations: 131.8 kB / 0.7947 GB, free: 4.332 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.01542, allocations: 64.23 kB / 0.7948 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01542, allocations: 4.062 kB / 0.7948 GB, free: 4.262 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.01551, allocations: 39.66 kB / 0.7948 GB, free: 4.219 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01583, allocations: 23.86 kB / 0.7948 GB, free: 4.195 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.01669, allocations: 273.4 kB / 0.7951 GB, free: 3.891 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.01675, allocations: 55.36 kB / 0.7951 GB, free: 3.816 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.01687, allocations: 20.72 kB / 0.7952 GB, free: 3.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.017, allocations: 82.19 kB / 0.7952 GB, free: 3.711 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/0.017, allocations: 0 / 0.7952 GB, free: 3.711 MB / 0.698 GB Notification: Performance of Templates: time 0.006018/0.02302, allocations: 2.002 MB / 0.7972 GB, free: 1.723 MB / 0.698 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.093539164867252]