Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001328/0.001328, allocations: 79.36 kB / 19.18 MB, free: 2.516 MB / 14.72 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.0015/0.0015, allocations: 163.7 kB / 22.46 MB, free: 5.379 MB / 14.72 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.809e-05, allocations: 9.312 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001708/0.001746, allocations: 0.6054 MB / 0.9821 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.003887, allocations: 1.427 MB / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.003917, allocations: 0 / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.003938, allocations: 3.938 kB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.003965, allocations: 4 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.004549, allocations: 151.3 kB / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.004651, allocations: 31.89 kB / 0.9837 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.004701, allocations: 4 kB / 0.9837 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.004777, allocations: 23.98 kB / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.004866, allocations: 19.95 kB / 0.9837 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.004889, allocations: 0 / 0.9837 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.005322, allocations: 255.4 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.005344, allocations: 3.984 kB / 0.9839 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.005379, allocations: 15.98 kB / 0.984 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.005745, allocations: 199.5 kB / 0.9842 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005748, allocations: 0 / 0.9842 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005749, allocations: 0 / 0.9842 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005754, allocations: 3.938 kB / 0.9842 GB, free: 9.18 MB / 0.9356 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.000619/0.006373, allocations: 301.9 kB / 0.9844 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.006415, allocations: 8.031 kB / 0.9845 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.006918, allocations: 68.84 kB / 0.9845 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.007043, allocations: 105.8 kB / 0.9846 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.007063, allocations: 384 / 0.9846 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.007091, allocations: 4.375 kB / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.007409, allocations: 99.89 kB / 0.9847 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.007418, allocations: 4.188 kB / 0.9847 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.007433, allocations: 384 / 0.9847 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.007442, allocations: 3.938 kB / 0.9847 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.007759, allocations: 63.94 kB / 0.9848 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.007965, allocations: 117.2 kB / 0.9849 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.00862, allocations: 126.5 kB / 0.985 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.0088, allocations: 40.92 kB / 0.9851 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.009251, allocations: 75.91 kB / 0.9851 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.009281, allocations: 34.56 kB / 0.9852 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.009282, allocations: 0 / 0.9852 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.001255/0.01054, allocations: 329.1 kB / 0.9855 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.01058, allocations: 59.34 kB / 0.9855 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.01066, allocations: 93.86 kB / 0.9856 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01068, allocations: 25.7 kB / 0.9856 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.01073, allocations: 80.14 kB / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01076, allocations: 24.02 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.01081, allocations: 21.7 kB / 0.9858 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01095, allocations: 314.8 kB / 0.9861 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.01113, allocations: 39.97 kB / 0.9861 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01129, allocations: 39.95 kB / 0.9861 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.01162, allocations: 72.8 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01162, allocations: 7.938 kB / 0.9862 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003823/0.012, allocations: 109.6 kB / 0.9863 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01202, allocations: 11.94 kB / 0.9863 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01203, allocations: 0 / 0.9863 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.01205, allocations: 4 kB / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01221, allocations: 31.84 kB / 0.9864 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01221, allocations: 0 / 0.9864 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01232, allocations: 11.98 kB / 0.9864 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01234, allocations: 4 kB / 0.9864 GB, free: 6.688 MB / 0.9356 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 9.63e-05/0.01243, allocations: 113.8 kB / 0.9865 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.01245, allocations: 3.984 kB / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.01293, allocations: 125.4 kB / 0.9866 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01294, allocations: 4 kB / 0.9866 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01294, allocations: 4.266 kB / 0.9866 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01295, allocations: 7.984 kB / 0.9866 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.01308, allocations: 109.3 kB / 0.9867 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01308, allocations: 0 / 0.9867 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.01325, allocations: 27.91 kB / 0.9868 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.01325, allocations: 4.234 kB / 0.9868 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01326, allocations: 4 kB / 0.9868 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01327, allocations: 4 kB / 0.9868 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01327, allocations: 0 / 0.9868 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.01389, allocations: 185 kB / 0.987 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.01394, allocations: 19.91 kB / 0.987 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01397, allocations: 3.984 kB / 0.987 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.01409, allocations: 11.98 kB / 0.987 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01413, allocations: 7.938 kB / 0.987 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01413, allocations: 0 / 0.987 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.01419, allocations: 87.27 kB / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01419, allocations: 0 / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002393/0.01443, allocations: 28.09 kB / 0.9871 GB, free: 5.891 MB / 0.9356 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.0002647/0.01469, allocations: 131.6 kB / 0.9872 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.01511, allocations: 83.92 kB / 0.9873 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01511, allocations: 0 / 0.9873 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.01529, allocations: 51.83 kB / 0.9874 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.01546, allocations: 6.234 kB / 0.9874 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.01616, allocations: 172.8 kB / 0.9875 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.979e-05/0.01622, allocations: 67.14 kB / 0.9876 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.846e-05/0.01632, allocations: 23.98 kB / 0.9876 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.01638, allocations: 12.5 kB / 0.9876 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01638, allocations: 0 / 0.9876 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.004256/0.02063, allocations: 1.209 MB / 0.9888 GB, free: 4.098 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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: 8.018069259822369]