Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001789/0.001789, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002197/0.002197, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.31/3.31, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_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.003211/0.003211, allocations: 71.31 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3388, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001652/0.3404, allocations: 0.6069 MB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3425, allocations: 1.525 MB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.3425, allocations: 4 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.3425, allocations: 0 / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.3425, allocations: 0 / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.343, allocations: 144.2 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.3431, allocations: 39.91 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.3431, allocations: 0 / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.3432, allocations: 15.98 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.3433, allocations: 27.89 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3433, allocations: 4 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.3437, allocations: 315.4 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3437, allocations: 7.969 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.3438, allocations: 15.92 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.3441, allocations: 191.7 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3441, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3441, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3441, allocations: 4 kB / 1.356 GB, free: 5.578 MB / 1.045 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.0005085/0.3446, allocations: 290 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3446, allocations: 8.031 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3447, allocations: 38.73 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.3451, allocations: 64.86 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3452, allocations: 110.5 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3452, allocations: 384 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3453, allocations: 384 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.3455, allocations: 85.7 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3455, allocations: 0 / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3455, allocations: 0 / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3456, allocations: 7.938 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.3458, allocations: 63.92 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.346, allocations: 136.7 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.3466, allocations: 118.5 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3468, allocations: 52.91 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.3472, allocations: 75.91 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3472, allocations: 38.5 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3472, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.001118/0.3484, allocations: 325.1 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3484, allocations: 51.41 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.3485, allocations: 101.8 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3485, allocations: 25.7 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.3485, allocations: 80.14 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3486, allocations: 23.98 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.3486, allocations: 17.7 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3488, allocations: 322.8 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3489, allocations: 31.97 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3491, allocations: 35.97 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3494, allocations: 76.8 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3494, allocations: 3.938 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003593/0.3497, allocations: 117.8 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3497, allocations: 4 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3497, allocations: 0 / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3498, allocations: 4 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3499, allocations: 27.97 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3499, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.35, allocations: 15.98 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.35, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 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.16e-05/0.3501, allocations: 121.7 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.3501, allocations: 7.891 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.3506, allocations: 137.3 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3506, allocations: 336 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3506, allocations: 4 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3506, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3508, allocations: 144.7 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3508, allocations: 3.938 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.351, allocations: 23.97 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.351, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.351, allocations: 7.938 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.351, allocations: 4 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.351, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.3516, allocations: 185 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3517, allocations: 15.91 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3517, allocations: 3.984 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3518, allocations: 16.05 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3518, allocations: 0 / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.3518, allocations: 8 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.3519, allocations: 79.27 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3519, allocations: 0 / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002422/0.3521, allocations: 31.88 kB / 1.359 GB, free: 2.199 MB / 1.045 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.001005/0.3531, allocations: 0.7568 MB / 1.359 GB, free: 1.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.3535, allocations: 79.98 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3535, allocations: 0 / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3537, allocations: 43.91 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.3538, allocations: 4 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3559, allocations: 1.363 MB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3562, allocations: 0.6806 MB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.3563, allocations: 20 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.3564, allocations: 15.44 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3564, allocations: 0 / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.392, allocations: 2.194 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.32, allocations: 3.938 kB / 1.364 GB, free: 13.02 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.313278557000558]