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.001652/0.001652, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00196/0.00196, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.303/3.303, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 70.31 kB / 1.186 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3449, allocations: 181.9 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001727/0.3466, allocations: 0.598 MB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3486, allocations: 1.436 MB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.3486, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.3487, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.3487, allocations: 7.875 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.3492, allocations: 149.8 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.3493, allocations: 27.97 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.3493, allocations: 3.984 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.3494, allocations: 15.98 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.3494, allocations: 23.91 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3495, allocations: 4 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.3499, allocations: 247.5 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3499, allocations: 11.98 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.3499, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3502, allocations: 183.5 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3502, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3502, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3502, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 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.0005318/0.3507, allocations: 286 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3508, allocations: 8.031 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.3512, allocations: 80.78 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3513, allocations: 102.5 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3514, allocations: 12.31 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3514, allocations: 4.328 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.3517, allocations: 103.6 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3517, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3517, allocations: 3.984 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3517, allocations: 3.938 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.352, allocations: 67.92 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.3522, allocations: 109.3 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.3528, allocations: 126.5 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3529, allocations: 40.92 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/0.3534, allocations: 75.89 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3534, allocations: 38.56 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3534, allocations: 4 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.001128/0.3545, allocations: 333 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3546, allocations: 51.41 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.3547, allocations: 93.86 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3547, allocations: 25.7 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.3547, allocations: 84.14 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3547, allocations: 19.88 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3548, allocations: 17.72 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3549, allocations: 318.8 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3551, allocations: 36.09 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3552, allocations: 35.97 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.3555, allocations: 80.73 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3555, allocations: 0 / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003613/0.3559, allocations: 113.6 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3559, allocations: 11.94 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3559, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3559, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3561, allocations: 23.98 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3561, allocations: 3.984 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3562, allocations: 16.23 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3562, allocations: 11.92 kB / 1.369 GB, free: 8.305 MB / 1.061 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 8.409e-05/0.3563, allocations: 113.8 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.3563, allocations: 3.938 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.3567, allocations: 141.3 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3567, allocations: 0 / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.3567, allocations: 0 / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3568, allocations: 0 / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3569, allocations: 109.3 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3569, allocations: 0 / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.357, allocations: 23.98 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.357, allocations: 4 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.357, allocations: 7.875 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.357, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.357, allocations: 3.938 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.3576, allocations: 189 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3577, allocations: 8.016 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3577, allocations: 3.938 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3578, allocations: 20.05 kB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.3578, allocations: 7.984 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3578, allocations: 0 / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.3579, allocations: 79.28 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 0 / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002262/0.3581, allocations: 31.86 kB / 1.369 GB, free: 7.5 MB / 1.061 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.0002028/0.3583, allocations: 127.4 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3587, allocations: 83.97 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3587, allocations: 0 / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3589, allocations: 47.95 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.359, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.3596, allocations: 193.3 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.32e-05/0.3597, allocations: 67.28 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.918e-05/0.3598, allocations: 19.98 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.3598, allocations: 15.38 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3598, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of Templates: time 0.00386/0.3637, allocations: 1.195 MB / 1.371 GB, free: 5.719 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.864598479121923]