Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 168.7 MB / 1.272 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001804/1.029, allocations: 0.6181 MB / 1.273 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002044/1.031, allocations: 1.46 MB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/1.031, allocations: 0 / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/1.031, allocations: 4 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/1.031, allocations: 0.9375 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/1.032, allocations: 137.9 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/1.032, allocations: 41.06 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/1.032, allocations: 5.047 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.456e-05/1.032, allocations: 12.27 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/1.032, allocations: 22.36 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/1.032, allocations: 6.125 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/1.033, allocations: 327 kB / 1.275 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/1.033, allocations: 10.19 kB / 1.275 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/1.033, allocations: 4.641 kB / 1.275 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/1.033, allocations: 189.6 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.033, allocations: 0.8125 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.033, allocations: 0 / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.033, allocations: 5.281 kB / 1.275 GB, free: 6.277 MB / 0.9981 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.0005102/1.034, allocations: 362.1 kB / 1.275 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.034, allocations: 9.312 kB / 1.275 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/1.034, allocations: 67.5 kB / 1.275 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/1.034, allocations: 174.3 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.034, allocations: 5.625 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/1.034, allocations: 2.469 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/1.035, allocations: 80.05 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.035, allocations: 3.938 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/1.035, allocations: 0 / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.035, allocations: 1.531 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/1.035, allocations: 74.23 kB / 1.276 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/1.035, allocations: 162.1 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/1.036, allocations: 124.8 kB / 1.276 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/1.036, allocations: 41.08 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004368/1.036, allocations: 149.7 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/1.036, allocations: 43.98 kB / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/1.036, allocations: 0.7812 kB / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.001231/1.038, allocations: 402.7 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/1.038, allocations: 55.97 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/1.038, allocations: 93.61 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/1.038, allocations: 27.28 kB / 1.277 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/1.038, allocations: 80.14 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/1.038, allocations: 23.78 kB / 1.277 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/1.038, allocations: 25.16 kB / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/1.038, allocations: 313.6 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/1.038, allocations: 34.17 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/1.038, allocations: 40.22 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/1.038, allocations: 77.98 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/1.038, allocations: 0 / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003547/1.039, allocations: 121.6 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.039, allocations: 7.5 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/1.039, allocations: 0 / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.039, allocations: 0.9375 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/1.039, allocations: 24.97 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.039, allocations: 1.297 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/1.039, allocations: 19.53 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.039, allocations: 2.734 kB / 1.277 GB, free: 4.215 MB / 0.9981 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.419e-05/1.039, allocations: 109.9 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/1.039, allocations: 5.625 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/1.04, allocations: 145.7 kB / 1.278 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.04, allocations: 0.7188 kB / 1.278 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.04, allocations: 4.594 kB / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.04, allocations: 0 / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/1.04, allocations: 163.8 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.04, allocations: 0.9375 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.04, allocations: 25.58 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/1.04, allocations: 0.9375 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.04, allocations: 1.719 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.04, allocations: 4 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.04, allocations: 1.25 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/1.04, allocations: 186.2 kB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/1.04, allocations: 87.67 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/1.04, allocations: 4.875 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/1.041, allocations: 20.09 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/1.041, allocations: 5.219 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.041, allocations: 2.406 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.849e-05/1.041, allocations: 79.33 kB / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0 / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002568/1.041, allocations: 33.08 kB / 1.278 GB, free: 3.535 MB / 0.9981 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.0001891/1.041, allocations: 129.8 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003767/1.041, allocations: 80.7 kB / 1.278 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.041, allocations: 0 / 1.278 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/1.042, allocations: 48.5 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/1.042, allocations: 8.953 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/1.042, allocations: 198.4 kB / 1.279 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.837e-05/1.043, allocations: 0.6794 MB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.015e-05/1.043, allocations: 19.83 kB / 1.279 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/1.043, allocations: 17.47 kB / 1.279 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.043, allocations: 0 / 1.279 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of Templates: time 0.004257/1.047, allocations: 1.187 MB / 1.28 GB, free: 2.426 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.010693558491766]