Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009579/0.0009579, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001024/0.001024, allocations: 169 kB / 23.02 MB, free: 1.547 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.9141/0.9141, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.104/2.104, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.545e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002331/0.002366, allocations: 0.8025 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.004593, allocations: 1.513 MB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.004638, allocations: 4 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.004675, allocations: 0.5938 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.004728, allocations: 5.281 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.005328, allocations: 145.4 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.005425, allocations: 49.5 kB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.005472, allocations: 4 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.005578, allocations: 43.83 kB / 0.8807 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.005644, allocations: 23.95 kB / 0.8808 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.005665, allocations: 5.656 kB / 0.8808 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.006069, allocations: 251.5 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.006092, allocations: 11.98 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.006126, allocations: 19.91 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.006482, allocations: 219.4 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006486, allocations: 6.844 kB / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/0.006487, allocations: 0 / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.006493, allocations: 0 / 0.8812 GB, free: 3.203 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005964/0.007089, allocations: 420.1 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.007134, allocations: 12.03 kB / 0.8817 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.007468, allocations: 58.89 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.007571, allocations: 120.5 kB / 0.8818 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.007595, allocations: 8.375 kB / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.007632, allocations: 4.375 kB / 0.8818 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.007947, allocations: 154.3 kB / 0.882 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.007961, allocations: 192 / 0.882 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.007981, allocations: 8.375 kB / 0.882 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.007993, allocations: 3.938 kB / 0.882 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.008094, allocations: 31.98 kB / 0.882 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.008626, allocations: 323.6 kB / 0.8823 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.008836, allocations: 78.97 kB / 0.8824 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.008886, allocations: 31.77 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008906, allocations: 3.984 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.008936, allocations: 37.39 kB / 0.8825 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.008938, allocations: 0 / 0.8825 GB, free: 1.793 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=11): time 0.0111/0.02003, allocations: 2.001 MB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.02007, allocations: 55.41 kB / 0.8845 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.02016, allocations: 161.9 kB / 0.8846 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.0202, allocations: 25.7 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.02026, allocations: 134.9 kB / 0.8848 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.02033, allocations: 47.56 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.02049, allocations: 75.36 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.02064, allocations: 0.4883 MB / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.02094, allocations: 143.9 kB / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.02123, allocations: 147.9 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.02183, allocations: 283.6 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02183, allocations: 0 / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000853/0.02269, allocations: 381.3 kB / 0.8863 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.02271, allocations: 8 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.02272, allocations: 0 / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.02273, allocations: 3.938 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.02334, allocations: 91.81 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.02334, allocations: 0 / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.02372, allocations: 31.97 kB / 0.8864 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.02378, allocations: 23.92 kB / 0.8865 GB, free: 13.59 MB / 0.8542 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.0001406/0.02392, allocations: 172.5 kB / 0.8866 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.02403, allocations: 4 kB / 0.8866 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.02408, allocations: 16.12 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02408, allocations: 0 / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.02408, allocations: 0 / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02409, allocations: 3.984 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.02537, allocations: 0.8824 MB / 0.8875 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.02537, allocations: 3.938 kB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.0258, allocations: 95.75 kB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.0258, allocations: 0 / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.02584, allocations: 23.94 kB / 0.8876 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.02584, allocations: 4 kB / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02585, allocations: 0 / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.02668, allocations: 0.644 MB / 0.8883 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.02679, allocations: 39.89 kB / 0.8883 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.02684, allocations: 4.031 kB / 0.8883 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.0272, allocations: 35.97 kB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.02727, allocations: 23.92 kB / 0.8884 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.02731, allocations: 35.8 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.02735, allocations: 127.2 kB / 0.8885 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02735, allocations: 0 / 0.8885 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000269/0.02762, allocations: 47.94 kB / 0.8886 GB, free: 11.31 MB / 0.8542 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.0001789/0.0278, allocations: 123.2 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.02828, allocations: 331.1 kB / 0.889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02828, allocations: 4 kB / 0.889 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.0285, allocations: 179.5 kB / 0.8892 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.02874, allocations: 39.92 kB / 0.8892 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.03051, allocations: 0.6189 MB / 0.8898 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.62e-05/0.03054, allocations: 67.28 kB / 0.8899 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.03083, allocations: 90.08 kB / 0.89 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.03103, allocations: 64.3 kB / 0.89 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/0.03103, allocations: 0 / 0.89 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of Templates: time 0.004732/0.03576, allocations: 3.771 MB / 0.8937 GB, free: 6 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.521028224378824]