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.001352/0.001352, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001482/0.001482, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.012 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.996/2.996, allocations: 476.8 MB / 0.7707 GB, free: 4.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",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.002085/0.002085, allocations: 66.33 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001859/0.3707, allocations: 0.6129 MB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3729, allocations: 1.523 MB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.3729, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3729, allocations: 4 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.971e-05/0.373, allocations: 3.938 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.3735, allocations: 148.1 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.3736, allocations: 23.98 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.3736, allocations: 4 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.3736, allocations: 15.98 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.3737, allocations: 31.88 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3738, allocations: 4 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.3743, allocations: 311.4 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.3743, allocations: 15.97 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.3743, allocations: 7.938 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.3746, allocations: 196.2 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3746, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3746, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3746, allocations: 0 / 1.286 GB, free: 8.809 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.0005805/0.3752, allocations: 290 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3752, allocations: 8.031 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3753, allocations: 30.75 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.3758, allocations: 72.8 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3759, allocations: 110.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3759, allocations: 8.375 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3759, allocations: 384 / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3762, allocations: 77.75 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3762, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3762, allocations: 4 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3762, allocations: 3.984 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.3765, allocations: 63.88 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.3767, allocations: 144.7 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.3774, allocations: 122.5 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3775, allocations: 40.92 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.378, allocations: 83.89 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.378, allocations: 34.5 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.378, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.001173/0.3792, allocations: 333 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3792, allocations: 55.41 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.3793, allocations: 97.86 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3793, allocations: 25.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.3794, allocations: 84.08 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.3794, allocations: 23.84 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3794, allocations: 17.72 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3796, allocations: 314.8 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.3798, allocations: 40.08 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3799, allocations: 35.91 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.3802, allocations: 76.8 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3802, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003557/0.3806, allocations: 117.6 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3806, allocations: 4 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3806, allocations: 0 / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3806, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3807, allocations: 23.98 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3807, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.3808, allocations: 15.92 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3809, allocations: 7.984 kB / 1.288 GB, free: 6.266 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 0.0001273/0.381, allocations: 109.8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.381, allocations: 3.938 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.3815, allocations: 133.3 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3815, allocations: 4 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3816, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3816, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3817, allocations: 140.7 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3817, allocations: 4.25 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.3819, allocations: 31.92 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3819, allocations: 4 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3819, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.3819, allocations: 7.922 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3819, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.3825, allocations: 185 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3825, allocations: 16.02 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3825, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3827, allocations: 15.98 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3827, allocations: 3.984 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3827, allocations: 4 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.3828, allocations: 79.22 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3828, allocations: 4 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002344/0.383, allocations: 39.95 kB / 1.289 GB, free: 5.422 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.0009688/0.384, allocations: 0.741 MB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.3843, allocations: 79.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.3843, allocations: 4 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3845, allocations: 47.89 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.3846, allocations: 4 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3868, allocations: 1.352 MB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3872, allocations: 0.6845 MB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.957e-05/0.3872, allocations: 15.98 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.3873, allocations: 23.42 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of SimCode: time 8.62e-07/0.3873, allocations: 0 / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4172, allocations: 2.182 MB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.55, allocations: 9.75 kB / 1.294 GB, free: 276 kB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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] "Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.52209517299889]