Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.0009545/0.0009545, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001821/0.001821, allocations: 161 kB / 23.82 MB, free: 0.75 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.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.795/1.795, allocations: 359 MB / 0.6052 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.841e-05, allocations: 7.094 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.004811/0.004839, allocations: 0.794 MB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.006678, allocations: 1.506 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.006717, allocations: 1.062 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.006752, allocations: 3.938 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.006795, allocations: 0 / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.01035, allocations: 150.5 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.98e-05/0.01044, allocations: 58.34 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.01048, allocations: 0 / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.01058, allocations: 39.95 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.01063, allocations: 19.91 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.01065, allocations: 4 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.011, allocations: 251.5 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.01102, allocations: 15.97 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.01105, allocations: 25.67 kB / 0.79 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.01136, allocations: 215.4 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.01136, allocations: 0 / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01136, allocations: 4 kB / 0.7902 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.01137, allocations: 0 / 0.7902 GB, free: 9.34 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000489/0.01186, allocations: 425.2 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.01189, allocations: 9.188 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.01218, allocations: 58.58 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.01226, allocations: 109.9 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.01228, allocations: 12.31 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.01232, allocations: 8.375 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.01257, allocations: 158.5 kB / 0.7909 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.01258, allocations: 4.125 kB / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.01259, allocations: 4.359 kB / 0.7909 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.0126, allocations: 7.922 kB / 0.7909 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.01268, allocations: 31.98 kB / 0.791 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.01615, allocations: 320.9 kB / 0.7913 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.01634, allocations: 83.44 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.01638, allocations: 29.33 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.0164, allocations: 0 / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.01642, allocations: 37.39 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01642, allocations: 0 / 0.7914 GB, free: 7.938 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=11): time 0.01823/0.03465, allocations: 1.999 MB / 0.7934 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.03469, allocations: 59.41 kB / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.03477, allocations: 153.9 kB / 0.7936 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.03481, allocations: 29.7 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.03487, allocations: 142.8 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.03493, allocations: 39.64 kB / 0.7938 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.03508, allocations: 75.23 kB / 0.7938 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.0352, allocations: 0.4883 MB / 0.7943 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.03544, allocations: 147.9 kB / 0.7945 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.03568, allocations: 139.9 kB / 0.7946 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.03618, allocations: 302.9 kB / 0.7949 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.03618, allocations: 0 / 0.7949 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.006196/0.04237, allocations: 377.5 kB / 0.7952 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.04239, allocations: 4 kB / 0.7952 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.0424, allocations: 0 / 0.7952 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.04242, allocations: 0 / 0.7952 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.04293, allocations: 95.77 kB / 0.7953 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.04293, allocations: 3.984 kB / 0.7953 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.04323, allocations: 23.97 kB / 0.7954 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.04328, allocations: 23.94 kB / 0.7954 GB, free: 3.766 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 (13): * Single equations (assignments): 13 * 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.0001258/0.04341, allocations: 164.5 kB / 0.7955 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.04351, allocations: 15.95 kB / 0.7956 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.04354, allocations: 12.12 kB / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.04355, allocations: 0 / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04355, allocations: 0 / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.04355, allocations: 0 / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.04476, allocations: 0.894 MB / 0.7964 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.04476, allocations: 0 / 0.7964 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.04522, allocations: 91.83 kB / 0.7965 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.04522, allocations: 7.984 kB / 0.7965 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.04527, allocations: 19.94 kB / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.04527, allocations: 0 / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04527, allocations: 0 / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.04795, allocations: 0.6517 MB / 0.7972 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.04808, allocations: 39.86 kB / 0.7972 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.04813, allocations: 8 kB / 0.7972 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.0485, allocations: 31.98 kB / 0.7973 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.04858, allocations: 23.92 kB / 0.7973 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.04864, allocations: 31.88 kB / 0.7973 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.04869, allocations: 131.3 kB / 0.7974 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04869, allocations: 0 / 0.7974 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003719/0.04906, allocations: 55.94 kB / 0.7975 GB, free: 1.473 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002154/0.04928, allocations: 103.2 kB / 0.7976 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006216/0.0499, allocations: 343.3 kB / 0.7979 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.0499, allocations: 0 / 0.7979 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.0502, allocations: 183.8 kB / 0.7981 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.05045, allocations: 40.08 kB / 0.7981 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.05223, allocations: 0.6189 MB / 0.7987 GB, free: 152 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.05227, allocations: 63.3 kB / 0.7988 GB, free: 68 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002959/0.05256, allocations: 92.91 kB / 0.7989 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.05275, allocations: 56.36 kB / 0.7989 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/0.05275, allocations: 0 / 0.7989 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of Templates: time 0.005883/0.05864, allocations: 3.776 MB / 0.8026 GB, free: 12.16 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.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.208889992441982]