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.001586/0.001586, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002037/0.002037, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.937/2.937, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002033/0.002033, allocations: 69.45 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002349/0.3611, allocations: 0.609 MB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.3636, allocations: 1.423 MB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.3636, allocations: 4 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3637, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.3637, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.3644, allocations: 147.4 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.3645, allocations: 27.97 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.3645, allocations: 4 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.3646, allocations: 23.91 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.3647, allocations: 19.97 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3647, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.3652, allocations: 263.5 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.3652, allocations: 11.98 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.3653, allocations: 11.92 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.3656, allocations: 179.1 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3657, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3657, allocations: 4 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.3657, allocations: 0 / 1.287 GB, free: 7.906 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.0006485/0.3663, allocations: 290 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3664, allocations: 8.031 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.297e-05/0.3664, allocations: 4.188 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.3664, allocations: 34.75 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.367, allocations: 68.8 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3671, allocations: 106.5 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3671, allocations: 4.375 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.3671, allocations: 4.375 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.3675, allocations: 107.2 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3675, allocations: 3.984 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3675, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3675, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.3678, allocations: 63.94 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.3681, allocations: 136.8 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.3687, allocations: 118.5 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3689, allocations: 44.92 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.3693, allocations: 75.84 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3693, allocations: 42.5 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3693, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.001228/0.3706, allocations: 333 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3706, allocations: 55.39 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.3707, allocations: 97.86 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3707, allocations: 25.7 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3708, allocations: 88.08 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3708, allocations: 19.8 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.3708, allocations: 21.7 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.371, allocations: 314.8 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.3712, allocations: 36.09 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3713, allocations: 35.95 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.3716, allocations: 80.8 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3716, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003683/0.372, allocations: 113.5 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.372, allocations: 6.344 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.372, allocations: 4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.372, allocations: 0 / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3722, allocations: 24.22 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3722, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.3723, allocations: 23.98 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3723, allocations: 3.984 kB / 1.289 GB, free: 5.336 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.004e-05/0.3724, allocations: 111.2 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.3724, allocations: 7.922 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.3729, allocations: 141.3 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3729, allocations: 0 / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3729, allocations: 0 / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3729, allocations: 3.984 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.373, allocations: 132.7 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.373, allocations: 4 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3732, allocations: 23.97 kB / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3732, allocations: 0 / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3732, allocations: 8 kB / 1.289 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3732, allocations: 0 / 1.289 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3732, allocations: 0 / 1.289 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.3738, allocations: 192.8 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.3739, allocations: 8.016 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3739, allocations: 4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.374, allocations: 11.98 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.374, allocations: 12.05 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.374, allocations: 7.938 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.3741, allocations: 75.28 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002423/0.3743, allocations: 31.88 kB / 1.29 GB, free: 4.504 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.00099/0.3753, allocations: 0.7567 MB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.3757, allocations: 84.17 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3757, allocations: 0 / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3759, allocations: 47.91 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.376, allocations: 4 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.3782, allocations: 1.356 MB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.986e-05/0.3782, allocations: 67.28 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.341e-05/0.3783, allocations: 16 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.3784, allocations: 15.42 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3784, allocations: 0 / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4043, allocations: 2.256 MB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 4.062 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.937594244023785]