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.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.001768/0.001768, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002274/0.002274, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476 MB / 0.7699 GB, free: 4.797 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002116/0.002116, allocations: 69.39 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002025/0.3496, allocations: 0.6089 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3517, allocations: 1.421 MB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.3517, allocations: 0 / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.3517, allocations: 4 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.384e-05/0.3518, allocations: 7.938 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.3523, allocations: 139.4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.3524, allocations: 27.97 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.3524, allocations: 11.98 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.3525, allocations: 15.98 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.3526, allocations: 23.91 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.3526, allocations: 0 / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.353, allocations: 251.5 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.3531, allocations: 7.984 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3531, allocations: 11.92 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.3534, allocations: 179.5 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3534, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3534, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3534, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 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.0006032/0.3541, allocations: 296.1 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3541, allocations: 8.031 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/0.3546, allocations: 68.81 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3547, allocations: 110.5 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3547, allocations: 4.375 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3547, allocations: 4.375 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.355, allocations: 103.7 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.355, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3551, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3551, allocations: 4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.3554, allocations: 67.86 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3555, allocations: 109.3 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/0.3561, allocations: 122.5 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.3563, allocations: 52.91 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004291/0.3567, allocations: 79.91 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3568, allocations: 30.56 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3568, allocations: 0 / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00115/0.3579, allocations: 333.3 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.358, allocations: 55.41 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.358, allocations: 97.84 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3581, allocations: 25.7 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.3581, allocations: 84.27 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3581, allocations: 23.84 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.3582, allocations: 25.66 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3583, allocations: 314.8 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3585, allocations: 31.97 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3586, allocations: 39.97 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.3589, allocations: 80.73 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3589, allocations: 0 / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003559/0.3593, allocations: 113.6 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3593, allocations: 11.94 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3593, allocations: 0 / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3593, allocations: 0 / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3595, allocations: 23.97 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3595, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.3596, allocations: 11.98 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3596, allocations: 8 kB / 1.288 GB, free: 6.695 MB / 0.9825 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 9.252e-05/0.3597, allocations: 113.8 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.3597, allocations: 7.938 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.3601, allocations: 129.7 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3601, allocations: 0 / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3601, allocations: 0 / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3601, allocations: 8 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3603, allocations: 113.3 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3603, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3604, allocations: 23.98 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3604, allocations: 0 / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3604, allocations: 11.86 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3604, allocations: 3.938 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3604, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.361, allocations: 185 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.3611, allocations: 12.02 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3611, allocations: 3.938 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3612, allocations: 11.98 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.3612, allocations: 7.984 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3612, allocations: 4 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.3613, allocations: 75.28 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3613, allocations: 4.156 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002268/0.3615, allocations: 39.8 kB / 1.289 GB, free: 5.895 MB / 0.9825 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.0002057/0.3617, allocations: 131 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.3621, allocations: 79.92 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3621, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3623, allocations: 39.97 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.3624, allocations: 8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.3631, allocations: 191.8 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.3631, allocations: 63.34 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.557e-05/0.3632, allocations: 16 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.3632, allocations: 11.44 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3632, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of Templates: time 0.004071/0.3673, allocations: 1.184 MB / 1.29 GB, free: 4.133 MB / 0.9825 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: 8.913179706782103]