Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00164/0.00164, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.00165/0.00165, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.117/1.117, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.465/2.465, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.193e-05, allocations: 4.703 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002582/0.002614, allocations: 0.6736 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.005007, allocations: 1.474 MB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.005043, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.005066, allocations: 3.938 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.005109, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.005789, allocations: 147.3 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.005907, allocations: 27.92 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.005952, allocations: 3.984 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.006034, allocations: 19.98 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.006127, allocations: 19.95 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.006147, allocations: 4 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.006682, allocations: 255.5 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.006703, allocations: 7.984 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.006725, allocations: 7.984 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.007073, allocations: 203.4 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007077, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/0.007078, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.007082, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 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.0004556/0.007538, allocations: 280.5 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.007579, allocations: 8.031 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.007921, allocations: 56.81 kB / 0.8418 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.008024, allocations: 109.8 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.00804, allocations: 384 / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.008065, allocations: 12.31 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.00827, allocations: 100.6 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.008279, allocations: 192 / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.008291, allocations: 384 / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.0083, allocations: 3.938 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.008353, allocations: 11.98 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.008491, allocations: 65.05 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.008716, allocations: 42.59 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.008755, allocations: 20.88 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.008979, allocations: 47.95 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.00901, allocations: 34.56 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.009012, allocations: 0 / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0005547/0.009566, allocations: 205.2 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.009598, allocations: 51.41 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.009668, allocations: 102.7 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.009685, allocations: 25.7 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.009715, allocations: 84.12 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.009753, allocations: 15.84 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.009803, allocations: 21.7 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.009902, allocations: 319 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.009931, allocations: 8 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.009955, allocations: 4.188 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/0.01002, allocations: 28.78 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01003, allocations: 0 / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001077/0.01013, allocations: 53.69 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01015, allocations: 4 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01015, allocations: 0 / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01017, allocations: 0 / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01028, allocations: 23.97 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.01029, allocations: 3.938 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.01034, allocations: 11.94 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01035, allocations: 0 / 0.8431 GB, free: 9.367 MB / 0.8073 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.604e-05/0.01043, allocations: 121.8 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.01044, allocations: 4 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.01061, allocations: 69.47 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01062, allocations: 0 / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01062, allocations: 4.328 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01062, allocations: 3.938 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.01073, allocations: 69.89 kB / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01073, allocations: 0 / 0.8434 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.01084, allocations: 19.98 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01085, allocations: 7.984 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.01086, allocations: 0 / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01086, allocations: 0 / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01086, allocations: 4.109 kB / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01105, allocations: 104.9 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.01109, allocations: 11.97 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01111, allocations: 0 / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.01117, allocations: 12.02 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.0112, allocations: 8 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01121, allocations: 0 / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.363e-05/0.01122, allocations: 8.844 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01122, allocations: 0 / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002441/0.01147, allocations: 31.88 kB / 0.8436 GB, free: 8.84 MB / 0.8073 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.0002079/0.01167, allocations: 100.3 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.0118, allocations: 44.7 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.0118, allocations: 0 / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.01184, allocations: 24.94 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.577e-05/0.01193, allocations: 8 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.01233, allocations: 136 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.809e-05/0.01237, allocations: 63.28 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.762e-05/0.01246, allocations: 15.94 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.01256, allocations: 59.38 kB / 0.844 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.01256, allocations: 0 / 0.844 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.004179/0.01674, allocations: 1.33 MB / 0.8453 GB, free: 7.012 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.414392616599798]