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.001474/0.001474, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001609/0.001609, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.478/1.478, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.717/2.717, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.493e-06/1.493e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.489e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001731/0.001756, allocations: 0.6405 MB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.004036, allocations: 1.438 MB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.004067, allocations: 3.938 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.004079, allocations: 0.8438 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.004161, allocations: 8.484 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.004665, allocations: 125.9 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.004735, allocations: 23.92 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.00477, allocations: 4.891 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.004832, allocations: 19.92 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.004904, allocations: 24.56 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.004919, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.005395, allocations: 248 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.005416, allocations: 8 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.005451, allocations: 13.53 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.005832, allocations: 191.5 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005834, allocations: 0 / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005835, allocations: 0 / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.005841, allocations: 1.531 kB / 0.7891 GB, free: 10.02 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.0005804/0.006421, allocations: 309.8 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.006471, allocations: 13.56 kB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/0.006917, allocations: 64.25 kB / 0.7895 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.007064, allocations: 113.7 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.007082, allocations: 4.375 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.007107, allocations: 4.375 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.0074, allocations: 72.14 kB / 0.7897 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.00742, allocations: 1.406 kB / 0.7897 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.007431, allocations: 384 / 0.7897 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.007442, allocations: 15.86 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.00784, allocations: 72.34 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.00802, allocations: 109.4 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.008708, allocations: 129.3 kB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.008907, allocations: 36.95 kB / 0.79 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.008928, allocations: 5.469 kB / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.008965, allocations: 34.56 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.008966, allocations: 0 / 0.79 GB, free: 8.961 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.004609/0.01358, allocations: 0.7934 MB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.01362, allocations: 51.41 kB / 0.7909 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.01374, allocations: 113.8 kB / 0.791 GB, free: 8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01377, allocations: 29.7 kB / 0.791 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.01383, allocations: 84.14 kB / 0.7911 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.01388, allocations: 35.73 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.01395, allocations: 29.7 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.01412, allocations: 310.8 kB / 0.7914 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.01461, allocations: 103.9 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.01508, allocations: 99.83 kB / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/0.01599, allocations: 184.7 kB / 0.7918 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01599, allocations: 4.75 kB / 0.7918 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001017/0.01701, allocations: 245.4 kB / 0.7921 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.01703, allocations: 9.562 kB / 0.7921 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01704, allocations: 3.938 kB / 0.7921 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01705, allocations: 0 / 0.7921 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.01741, allocations: 55.94 kB / 0.7921 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01742, allocations: 0 / 0.7921 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.01767, allocations: 35.95 kB / 0.7922 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.01768, allocations: 8 kB / 0.7922 GB, free: 6.754 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 0.0001305/0.01781, allocations: 121.7 kB / 0.7923 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.01786, allocations: 15.94 kB / 0.7923 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.0179, allocations: 12.38 kB / 0.7923 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.0179, allocations: 0 / 0.7923 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01791, allocations: 0 / 0.7923 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01791, allocations: 4 kB / 0.7923 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.01978, allocations: 0.5385 MB / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01979, allocations: 0 / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.02009, allocations: 59.94 kB / 0.7929 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.02009, allocations: 0 / 0.7929 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.02011, allocations: 7.984 kB / 0.7929 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02011, allocations: 0 / 0.7929 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02011, allocations: 0 / 0.7929 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.02121, allocations: 345.3 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.02123, allocations: 7.953 kB / 0.7932 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.02125, allocations: 4 kB / 0.7932 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.02153, allocations: 31.95 kB / 0.7933 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.02158, allocations: 11.98 kB / 0.7933 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02159, allocations: 4 kB / 0.7933 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.02167, allocations: 95.27 kB / 0.7934 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02167, allocations: 4 kB / 0.7934 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003125/0.02198, allocations: 31.92 kB / 0.7934 GB, free: 5.402 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.0002589/0.02224, allocations: 139 kB / 0.7935 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.02325, allocations: 199.8 kB / 0.7937 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.02325, allocations: 0 / 0.7937 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.02374, allocations: 115.9 kB / 0.7938 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.024, allocations: 17.48 kB / 0.7939 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.0257, allocations: 405.8 kB / 0.7942 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.683e-05/0.02579, allocations: 76.64 kB / 0.7943 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.0259, allocations: 20.73 kB / 0.7943 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.02598, allocations: 20.48 kB / 0.7944 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of SimCode: time 4.2e-07/0.02598, allocations: 0 / 0.7944 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.005235/0.03122, allocations: 1.795 MB / 0.7961 GB, free: 2.586 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.718169171945192]