Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001511/0.001511, 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.001161/0.001161, allocations: 169 kB / 24.28 MB, free: 280 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 0.9743/0.9743, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.823/1.823, allocations: 359 MB / 0.6055 GB, free: 10.97 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.009e-05, allocations: 2.859 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001059/0.001079, allocations: 0.606 MB / 0.7877 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.002485, allocations: 1.484 MB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.002509, allocations: 1.406 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.002525, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.735e-05/0.002552, allocations: 3.938 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.002959, allocations: 146.4 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.003022, allocations: 27.97 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.003063, allocations: 0.6562 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.003125, allocations: 19.98 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.003195, allocations: 25.48 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.003212, allocations: 4 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.003458, allocations: 243.5 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.003473, allocations: 7.922 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.003494, allocations: 12.58 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.003717, allocations: 199.5 kB / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003719, allocations: 3.438 kB / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00372, allocations: 0 / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003724, allocations: 0 / 0.7899 GB, free: 9.961 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003924/0.004116, allocations: 395.9 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.004152, allocations: 8.031 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.004397, allocations: 59.55 kB / 0.7903 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.004481, allocations: 112.6 kB / 0.7904 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.004496, allocations: 4.375 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.004515, allocations: 1.562 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.004683, allocations: 105.3 kB / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.00469, allocations: 192 / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004703, allocations: 1.094 kB / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.004711, allocations: 3.938 kB / 0.7905 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.004759, allocations: 17.2 kB / 0.7905 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.004888, allocations: 120.6 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.005083, allocations: 63.8 kB / 0.7907 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.005118, allocations: 20.97 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.005286, allocations: 54.31 kB / 0.7908 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.005306, allocations: 33.39 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.005308, allocations: 0.7812 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0004447/0.005752, allocations: 215 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.005782, allocations: 63.34 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.005848, allocations: 155.2 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.00586, allocations: 25.7 kB / 0.7913 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.005892, allocations: 134.9 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.005917, allocations: 20.33 kB / 0.7914 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.005952, allocations: 31.31 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006061, allocations: 496.6 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.006091, allocations: 8.875 kB / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.006116, allocations: 15.98 kB / 0.7919 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.00617, allocations: 28.5 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006171, allocations: 0 / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.782e-05/0.006269, allocations: 62.22 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.00628, allocations: 9.375 kB / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006284, allocations: 0 / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.006295, allocations: 0 / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.006369, allocations: 24.67 kB / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.006374, allocations: 4 kB / 0.7921 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.006409, allocations: 13.17 kB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.006415, allocations: 1.219 kB / 0.7921 GB, free: 7.477 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 (6): * Single equations (assignments): 6 * 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 6.104e-05/0.006476, allocations: 156.6 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.006488, allocations: 4 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.006633, allocations: 96.97 kB / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006634, allocations: 3.281 kB / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.006639, allocations: 3.938 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.006643, allocations: 3.984 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.804e-05/0.006721, allocations: 116.6 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006721, allocations: 0 / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.006787, allocations: 27.91 kB / 0.7925 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006788, allocations: 0 / 0.7925 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.006797, allocations: 3.938 kB / 0.7925 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006798, allocations: 1.062 kB / 0.7925 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006798, allocations: 0 / 0.7925 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.00696, allocations: 128.8 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.006988, allocations: 4.797 kB / 0.7926 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.007001, allocations: 4 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.007042, allocations: 9.141 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.007064, allocations: 7.938 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.00707, allocations: 4 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.007099, allocations: 128.5 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007099, allocations: 3.938 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001492/0.007249, allocations: 28.94 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001355/0.007384, allocations: 131.1 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.00749, allocations: 40.33 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007491, allocations: 1.75 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.007524, allocations: 27.61 kB / 0.793 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.007638, allocations: 11.98 kB / 0.793 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.007953, allocations: 157.9 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.007982, allocations: 55.36 kB / 0.7932 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.985e-05/0.008042, allocations: 21.83 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.008078, allocations: 16.48 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.008079, allocations: 0 / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.002611/0.01069, allocations: 1.216 MB / 0.7944 GB, free: 4.973 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.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.058170875068754]