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.00131/0.00131, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001381/0.001381, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.871/2.871, allocations: 476.7 MB / 0.7678 GB, free: 9.324 MB / 0.6075 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.00207/0.00207, allocations: 63.91 kB / 1.113 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002229/1.068, allocations: 0.6161 MB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002582/1.071, allocations: 1.512 MB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/1.071, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/1.071, allocations: 3.938 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/1.071, allocations: 5 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/1.071, allocations: 145.4 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/1.071, allocations: 26.39 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/1.071, allocations: 6.906 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/1.071, allocations: 13.58 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/1.072, allocations: 25.34 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/1.072, allocations: 2.219 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000616/1.072, allocations: 319.3 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/1.072, allocations: 9.516 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/1.072, allocations: 10.12 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/1.073, allocations: 189 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.073, allocations: 0.5625 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/1.073, allocations: 3.938 kB / 1.282 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.073, allocations: 0.5 kB / 1.282 GB, free: 9.992 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.0006943/1.073, allocations: 366.9 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.073, allocations: 9.906 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.713e-05/1.073, allocations: 0.6875 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/1.073, allocations: 44.34 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/1.074, allocations: 71.31 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/1.074, allocations: 162.3 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/1.074, allocations: 2.156 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/1.074, allocations: 2.75 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/1.075, allocations: 79.2 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.075, allocations: 0 / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/1.075, allocations: 4.688 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.075, allocations: 0.9375 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/1.075, allocations: 64.64 kB / 1.283 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/1.075, allocations: 161.6 kB / 1.283 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/1.076, allocations: 121.5 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.076, allocations: 48.8 kB / 1.283 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/1.077, allocations: 156.1 kB / 1.283 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/1.077, allocations: 31.12 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/1.077, allocations: 1.562 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.00138/1.078, allocations: 405.7 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/1.078, allocations: 57.23 kB / 1.284 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/1.078, allocations: 98.23 kB / 1.284 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/1.078, allocations: 25.7 kB / 1.284 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/1.078, allocations: 81.48 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/1.078, allocations: 22.98 kB / 1.284 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/1.078, allocations: 22.25 kB / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.078, allocations: 317 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/1.079, allocations: 45.66 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/1.079, allocations: 35.11 kB / 1.284 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/1.079, allocations: 75.48 kB / 1.284 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.079, allocations: 0 / 1.284 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004267/1.08, allocations: 115.2 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.08, allocations: 6.344 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.08, allocations: 0 / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.08, allocations: 1.312 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/1.08, allocations: 34.12 kB / 1.284 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.08, allocations: 0.6094 kB / 1.284 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1.08, allocations: 11.97 kB / 1.284 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/1.08, allocations: 2.969 kB / 1.284 GB, free: 7.891 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 9.941e-05/1.08, allocations: 111.9 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/1.08, allocations: 11.05 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/1.081, allocations: 128.3 kB / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.081, allocations: 1.375 kB / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.081, allocations: 0 / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.081, allocations: 0.6094 kB / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/1.081, allocations: 175 kB / 1.285 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.081, allocations: 4 kB / 1.285 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.081, allocations: 27.5 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.081, allocations: 0 / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.081, allocations: 7.609 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.081, allocations: 0.7031 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.081, allocations: 0 / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/1.082, allocations: 189.4 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.082, allocations: 87.64 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/1.082, allocations: 1.375 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/1.082, allocations: 13.09 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/1.082, allocations: 3.25 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.082, allocations: 3.031 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.894e-05/1.082, allocations: 87.02 kB / 1.285 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.082, allocations: 3.938 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002957/1.082, allocations: 30.78 kB / 1.285 GB, free: 7.203 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.00116/1.083, allocations: 0.7515 MB / 1.286 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004453/1.084, allocations: 86.39 kB / 1.286 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.084, allocations: 3.938 kB / 1.286 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/1.084, allocations: 44.22 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/1.084, allocations: 6.688 kB / 1.286 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.087, allocations: 1.365 MB / 1.287 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.087, allocations: 0.6792 MB / 1.288 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.359e-05/1.087, allocations: 16.05 kB / 1.288 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/1.087, allocations: 13.94 kB / 1.288 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of SimCode: time 4.4e-07/1.087, allocations: 0 / 1.288 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/1.109, allocations: 2.132 MB / 1.29 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/9.747, allocations: 6.938 kB / 1.29 GB, free: 4.234 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.267953322036192]