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.0008219/0.0008219, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001891, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001106/0.001106, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002481, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9513/0.9513, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08882/1.04, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.866/1.866, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5015/2.367, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.873e-06/1.873e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.311e-05, allocations: 2.859 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001543/0.001557, allocations: 0.6689 MB / 0.73 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.003807, allocations: 1.491 MB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.003829, allocations: 0.5 kB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.741e-06/0.003835, allocations: 4 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.12e-05/0.003846, allocations: 6 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.00429, allocations: 129.1 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.004374, allocations: 30.38 kB / 0.7317 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.004419, allocations: 0 / 0.7317 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.004502, allocations: 25.52 kB / 0.7317 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.004594, allocations: 29.25 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004613, allocations: 2 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.005054, allocations: 258.4 kB / 0.732 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.00507, allocations: 3.938 kB / 0.732 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.005089, allocations: 4.719 kB / 0.732 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.005414, allocations: 171.7 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.00543, allocations: 0.5312 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005432, allocations: 0 / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.00545, allocations: 0.9375 kB / 0.7321 GB, free: 1.711 MB / 0.698 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.0005368/0.005987, allocations: 273.2 kB / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.006035, allocations: 8.031 kB / 0.7324 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.006411, allocations: 132.7 kB / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.006512, allocations: 105.8 kB / 0.7326 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.006529, allocations: 6.094 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.006552, allocations: 4.375 kB / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.006746, allocations: 101.4 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006754, allocations: 192 / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.006764, allocations: 1.312 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.006773, allocations: 3.938 kB / 0.7327 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.006826, allocations: 11.98 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.006947, allocations: 73.86 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.007156, allocations: 47.22 kB / 0.7329 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.007189, allocations: 17.47 kB / 0.7329 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.007395, allocations: 46.52 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.007421, allocations: 31.44 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.007422, allocations: 0 / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0004945/0.007916, allocations: 203 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.007951, allocations: 56 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.008011, allocations: 107.3 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008025, allocations: 26.86 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.008052, allocations: 80.14 kB / 0.7334 GB, free: 240 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.008085, allocations: 19.8 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.008134, allocations: 30.72 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.008241, allocations: 310.8 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.008269, allocations: 11.94 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.008291, allocations: 8.547 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/0.008344, allocations: 22.58 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.008345, allocations: 0 / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.309e-05/0.008438, allocations: 53.67 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.008452, allocations: 11.44 kB / 0.7339 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008458, allocations: 5.203 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.008467, allocations: 0 / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.008583, allocations: 20.73 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.008586, allocations: 0 / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.008637, allocations: 12.42 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.008645, allocations: 0.75 kB / 0.7339 GB, free: 15.72 MB / 0.7136 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.024e-05/0.008715, allocations: 123.1 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.008728, allocations: 0 / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.008885, allocations: 72.31 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008886, allocations: 0 / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008888, allocations: 1.375 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.008895, allocations: 7.922 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.008984, allocations: 65.91 kB / 0.7341 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.008986, allocations: 7.062 kB / 0.7342 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.009093, allocations: 15.98 kB / 0.7342 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.009125, allocations: 7.984 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.00913, allocations: 4 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.009146, allocations: 4 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.009148, allocations: 0 / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.00915, allocations: 7.938 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.009311, allocations: 91.31 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.009326, allocations: 0 / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.009385, allocations: 11.98 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.009406, allocations: 3.984 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.009417, allocations: 8.781 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.116e-05/0.009428, allocations: 4.859 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.009428, allocations: 2.438 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001925/0.00962, allocations: 31.86 kB / 0.7343 GB, free: 15.21 MB / 0.7136 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.0001561/0.009776, allocations: 112.2 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.009885, allocations: 40.72 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.00989, allocations: 0.875 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.009927, allocations: 20.84 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.129e-05/0.01001, allocations: 12.44 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.01035, allocations: 139.3 kB / 0.7347 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.01039, allocations: 55.36 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.158e-05/0.01047, allocations: 16.33 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.01055, allocations: 56.03 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of SimCode: time 5e-07/0.01055, allocations: 0 / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.002712/0.01326, allocations: 1.338 MB / 0.7361 GB, free: 13.45 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.ref.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.8819936495274305]