Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00168/0.00168, 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.001969/0.001969, 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_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.002236/0.002236, allocations: 67.91 kB / 1.15 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9928, allocations: 176.1 MB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001811/0.9946, allocations: 0.6054 MB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.9963, allocations: 1.517 MB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.9963, allocations: 3.938 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.853e-05/0.9963, allocations: 3.938 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.9964, allocations: 0 / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.9968, allocations: 141.4 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/0.9969, allocations: 27.53 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.997, allocations: 7.141 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.997, allocations: 22.44 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.9971, allocations: 26.47 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.9971, allocations: 2.938 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.9975, allocations: 310.6 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.9975, allocations: 3.328 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.9975, allocations: 20.25 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.9978, allocations: 192.5 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9978, allocations: 0 / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9978, allocations: 0 / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9978, allocations: 0 / 1.324 GB, free: 23.02 MB / 1.061 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.0005087/0.9983, allocations: 374.3 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9983, allocations: 14.55 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.9984, allocations: 192 / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.327e-05/0.9984, allocations: 34.5 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.9988, allocations: 65.34 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.276e-05/0.9989, allocations: 167.9 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.9989, allocations: 4.375 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.999, allocations: 3.219 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.9992, allocations: 73.75 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9992, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.9992, allocations: 4 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9992, allocations: 6.188 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.9995, allocations: 62.64 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.9997, allocations: 169.2 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/1, allocations: 117.7 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/1, allocations: 43.17 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/1.001, allocations: 157 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/1.001, allocations: 30.56 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/1.001, allocations: 0 / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.001153/1.002, allocations: 411.7 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/1.002, allocations: 51.41 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/1.002, allocations: 107.6 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.002, allocations: 28.45 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.772e-05/1.002, allocations: 80.14 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/1.002, allocations: 22.3 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/1.002, allocations: 26.23 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.475e-05/1.002, allocations: 310.8 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.002, allocations: 38.8 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/1.003, allocations: 40.48 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/1.003, allocations: 73.95 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.003, allocations: 0 / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00034/1.003, allocations: 115.9 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.003, allocations: 5.25 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.003, allocations: 2.844 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.003, allocations: 3.938 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.003, allocations: 26.95 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/1.003, allocations: 0 / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/1.004, allocations: 11.44 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.004, allocations: 6.969 kB / 1.327 GB, free: 20.91 MB / 1.061 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 6.635e-05/1.004, allocations: 111.2 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/1.004, allocations: 10.61 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/1.004, allocations: 131.2 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.004, allocations: 3.938 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.004, allocations: 0.8125 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/1.004, allocations: 0 / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/1.004, allocations: 170.6 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.004, allocations: 0 / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/1.004, allocations: 27.02 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.004, allocations: 0.6875 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.004, allocations: 1.656 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.004, allocations: 3.281 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.004, allocations: 4.625 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/1.005, allocations: 187.5 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/1.005, allocations: 86.08 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/1.005, allocations: 1.156 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/1.005, allocations: 18.92 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/1.005, allocations: 10.25 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/1.005, allocations: 2.625 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.007e-05/1.005, allocations: 80.47 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.005, allocations: 1.031 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002577/1.005, allocations: 32.39 kB / 1.328 GB, free: 20.23 MB / 1.061 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.000864/1.006, allocations: 0.7504 MB / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004134/1.007, allocations: 90.69 kB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.007, allocations: 1.438 kB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/1.007, allocations: 43.86 kB / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/1.007, allocations: 2.281 kB / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/1.009, allocations: 1.364 MB / 1.33 GB, free: 18.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/1.009, allocations: 0.6789 MB / 1.331 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.472e-05/1.009, allocations: 18.27 kB / 1.331 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/1.009, allocations: 15.56 kB / 1.331 GB, free: 17.68 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.009, allocations: 0 / 1.331 GB, free: 17.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/1.029, allocations: 2.127 MB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.693, allocations: 8.844 kB / 1.333 GB, free: 17.27 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.50604829803342]