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.0009936/0.0009936, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001799/0.001799, allocations: 161 kB / 24.17 MB, free: 332 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.9886/0.9886, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.352e-06/1.352e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.599e-05, allocations: 10.36 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001174/0.0012, allocations: 0.6335 MB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.002594, allocations: 1.476 MB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.002612, allocations: 0 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.002625, allocations: 4.469 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.925e-05/0.002654, allocations: 0 / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.003033, allocations: 146.9 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.003091, allocations: 28.84 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.003121, allocations: 5.219 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.003174, allocations: 16.64 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.003239, allocations: 24.72 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.003252, allocations: 1.719 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.003497, allocations: 251.8 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.003511, allocations: 3.984 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.003529, allocations: 15.92 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.003735, allocations: 204.2 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003737, allocations: 0 / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003738, allocations: 0 / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003741, allocations: 1.188 kB / 0.7628 GB, free: 3.824 MB / 0.7136 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.0003151/0.004056, allocations: 268.3 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.00409, allocations: 13.03 kB / 0.7631 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.004303, allocations: 55.31 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.891e-05/0.004372, allocations: 105.8 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004384, allocations: 1.562 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.004403, allocations: 8.719 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.004542, allocations: 97.64 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-06/0.004546, allocations: 1.375 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.004554, allocations: 384 / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.004558, allocations: 3.938 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.004591, allocations: 22.67 kB / 0.7634 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.167e-05/0.004683, allocations: 69 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.004829, allocations: 38.69 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.004851, allocations: 16.84 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.004985, allocations: 50.42 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.005004, allocations: 34.56 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005005, allocations: 4.625 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003623/0.005367, allocations: 199 kB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.005392, allocations: 57.88 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.366e-05/0.005436, allocations: 102.6 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.00545, allocations: 29.7 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.005469, allocations: 84.08 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.005491, allocations: 15.8 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.005525, allocations: 29.69 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.005594, allocations: 313.3 kB / 0.7644 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.005611, allocations: 4 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.005627, allocations: 8 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.005666, allocations: 24.84 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.005667, allocations: 0 / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.367e-05/0.00573, allocations: 53.81 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.005741, allocations: 9.766 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005745, allocations: 0 / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.005755, allocations: 4 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.005819, allocations: 17.02 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.005821, allocations: 0 / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.005849, allocations: 8.875 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005856, allocations: 3.984 kB / 0.7645 GB, free: 1.938 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 5.217e-05/0.005908, allocations: 116.2 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.005916, allocations: 0 / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/0.006016, allocations: 74.89 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.006017, allocations: 4.688 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006018, allocations: 1.141 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006022, allocations: 3.938 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.348e-05/0.006085, allocations: 69.89 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006086, allocations: 0.5312 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.006147, allocations: 20.58 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.006149, allocations: 5.484 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006156, allocations: 4 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006157, allocations: 0 / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006158, allocations: 0 / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.006269, allocations: 94.11 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.006297, allocations: 11.97 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006307, allocations: 0.9062 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.006339, allocations: 8.641 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.006357, allocations: 8 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.006363, allocations: 0.9375 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.187e-06/0.006372, allocations: 14.19 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006372, allocations: 0 / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001224/0.006494, allocations: 31.88 kB / 0.7649 GB, free: 1.434 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.0001378/0.006632, allocations: 111.1 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.006705, allocations: 36.77 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.006707, allocations: 4 kB / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.006729, allocations: 20.78 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.542e-05/0.006794, allocations: 8 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.00705, allocations: 139.1 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.007082, allocations: 59.34 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.152e-05/0.007133, allocations: 17.97 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.007191, allocations: 55.38 kB / 0.7654 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.007191, allocations: 0 / 0.7654 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of Templates: time 0.00265/0.009841, allocations: 1.328 MB / 0.7667 GB, free: 15.68 MB / 0.7292 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.10345214093104]