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.00125/0.00125, allocations: 80.39 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.00151/0.00151, allocations: 170.2 kB / 24.86 MB, free: 9.227 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.9721/0.9721, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.784/1.784, 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.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.533e-06/1.533e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.174e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.15 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00527/0.005302, allocations: 0.6185 MB / 0.789 GB, free: 11.55 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.007572, allocations: 1.464 MB / 0.7904 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.007614, allocations: 0 / 0.7904 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.007636, allocations: 4.875 kB / 0.7904 GB, free: 10.06 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.01069, allocations: 0 / 0.7904 GB, free: 10.06 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.01135, allocations: 148.1 kB / 0.7905 GB, free: 9.922 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.01144, allocations: 27.98 kB / 0.7906 GB, free: 9.895 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.01148, allocations: 3.984 kB / 0.7906 GB, free: 9.891 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.01155, allocations: 27.91 kB / 0.7906 GB, free: 9.863 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.01164, allocations: 19.97 kB / 0.7906 GB, free: 9.844 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.01166, allocations: 0 / 0.7906 GB, free: 9.844 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.01205, allocations: 252.4 kB / 0.7909 GB, free: 9.598 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.01207, allocations: 7.984 kB / 0.7909 GB, free: 9.59 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.01209, allocations: 7.984 kB / 0.7909 GB, free: 9.582 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.01241, allocations: 208 kB / 0.7911 GB, free: 9.379 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.01241, allocations: 5.344 kB / 0.7911 GB, free: 9.375 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.913e-06/0.01242, allocations: 0 / 0.7911 GB, free: 9.375 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.01242, allocations: 0 / 0.7911 GB, free: 9.375 MB / 0.7449 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.0004633/0.01289, allocations: 385.3 kB / 0.7914 GB, free: 8.965 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01293, allocations: 12.03 kB / 0.7915 GB, free: 8.953 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.01324, allocations: 48.28 kB / 0.7915 GB, free: 8.91 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.01334, allocations: 116.6 kB / 0.7916 GB, free: 8.77 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.01335, allocations: 384 / 0.7916 GB, free: 8.77 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.01338, allocations: 4.375 kB / 0.7916 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.0166, allocations: 102.1 kB / 0.7917 GB, free: 8.652 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01661, allocations: 4.656 kB / 0.7917 GB, free: 8.648 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.01662, allocations: 384 / 0.7917 GB, free: 8.648 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.01663, allocations: 6 kB / 0.7917 GB, free: 8.645 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.01668, allocations: 19.92 kB / 0.7917 GB, free: 8.625 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.01684, allocations: 101.2 kB / 0.7918 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.01705, allocations: 59.14 kB / 0.7919 GB, free: 8.43 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.01709, allocations: 20.3 kB / 0.7919 GB, free: 8.406 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.01729, allocations: 50.78 kB / 0.792 GB, free: 8.359 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.01731, allocations: 34.36 kB / 0.792 GB, free: 8.316 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.01731, allocations: 0 / 0.792 GB, free: 8.316 MB / 0.7449 GB Notification: Performance of matching and sorting (n=5): time 0.0004492/0.01776, allocations: 210.5 kB / 0.7922 GB, free: 8.074 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.01779, allocations: 55.94 kB / 0.7923 GB, free: 8.008 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.01786, allocations: 162.9 kB / 0.7924 GB, free: 7.832 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.01787, allocations: 25.7 kB / 0.7924 GB, free: 7.801 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.01791, allocations: 127.8 kB / 0.7926 GB, free: 7.672 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.01794, allocations: 15.89 kB / 0.7926 GB, free: 7.656 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.01799, allocations: 28.2 kB / 0.7926 GB, free: 7.621 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01812, allocations: 496.1 kB / 0.7931 GB, free: 7.125 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.01815, allocations: 7.984 kB / 0.7931 GB, free: 7.117 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.01818, allocations: 10.12 kB / 0.7931 GB, free: 7.109 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.379e-05/0.01824, allocations: 35.86 kB / 0.7931 GB, free: 7.07 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01824, allocations: 0 / 0.7931 GB, free: 7.07 MB / 0.7449 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001175/0.01836, allocations: 65.64 kB / 0.7932 GB, free: 7 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01837, allocations: 8.438 kB / 0.7932 GB, free: 6.992 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01838, allocations: 0 / 0.7932 GB, free: 6.992 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.01839, allocations: 2.594 kB / 0.7932 GB, free: 6.992 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.01849, allocations: 19.98 kB / 0.7932 GB, free: 6.973 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01849, allocations: 3.938 kB / 0.7932 GB, free: 6.969 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.01854, allocations: 7.984 kB / 0.7932 GB, free: 6.961 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.01854, allocations: 4 kB / 0.7932 GB, free: 6.957 MB / 0.7449 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 7.5e-05/0.01862, allocations: 154.3 kB / 0.7934 GB, free: 6.797 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.01864, allocations: 8 kB / 0.7934 GB, free: 6.789 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.0188, allocations: 76.97 kB / 0.7935 GB, free: 6.711 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0188, allocations: 4.266 kB / 0.7935 GB, free: 6.707 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01881, allocations: 3.938 kB / 0.7935 GB, free: 6.703 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01881, allocations: 4.594 kB / 0.7935 GB, free: 6.699 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.01891, allocations: 117.2 kB / 0.7936 GB, free: 6.559 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01891, allocations: 0.9062 kB / 0.7936 GB, free: 6.559 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.019, allocations: 19.77 kB / 0.7936 GB, free: 6.543 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01901, allocations: 4 kB / 0.7936 GB, free: 6.539 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01901, allocations: 0 / 0.7936 GB, free: 6.539 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01901, allocations: 0 / 0.7936 GB, free: 6.539 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01902, allocations: 0 / 0.7936 GB, free: 6.539 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.01919, allocations: 108.4 kB / 0.7937 GB, free: 6.41 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.01923, allocations: 11.94 kB / 0.7937 GB, free: 6.398 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.01924, allocations: 192 / 0.7937 GB, free: 6.398 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.01929, allocations: 19.98 kB / 0.7937 GB, free: 6.379 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.01931, allocations: 9.078 kB / 0.7937 GB, free: 6.371 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01932, allocations: 4 kB / 0.7938 GB, free: 6.367 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.01937, allocations: 120.2 kB / 0.7939 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.01937, allocations: 0 / 0.7939 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000244/0.01962, allocations: 35.86 kB / 0.7939 GB, free: 6.215 MB / 0.7449 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.0001931/0.01981, allocations: 136.2 kB / 0.794 GB, free: 6.074 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01993, allocations: 32.8 kB / 0.7941 GB, free: 6.039 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01993, allocations: 0 / 0.7941 GB, free: 6.039 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.01997, allocations: 27.61 kB / 0.7941 GB, free: 6.008 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.02012, allocations: 9.156 kB / 0.7941 GB, free: 6 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.02049, allocations: 159.8 kB / 0.7943 GB, free: 5.816 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.084e-05/0.02052, allocations: 59.34 kB / 0.7943 GB, free: 5.738 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 7.428e-05/0.02059, allocations: 16.25 kB / 0.7943 GB, free: 5.723 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.02068, allocations: 78.2 kB / 0.7944 GB, free: 5.645 MB / 0.7449 GB Notification: Performance of SimCode: time 9.32e-07/0.02068, allocations: 0 / 0.7944 GB, free: 5.645 MB / 0.7449 GB Notification: Performance of Templates: time 0.006652/0.02733, allocations: 1.348 MB / 0.7957 GB, free: 4.312 MB / 0.7449 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: 4.952032401226461]