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.001949/0.001949, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001836/0.001836, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.861/2.861, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] 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.002042/0.002042, allocations: 63.05 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001881/0.3541, allocations: 0.6112 MB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3563, allocations: 1.515 MB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.3563, allocations: 4 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.3563, allocations: 0 / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.833e-05/0.3564, allocations: 3.938 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.3568, allocations: 143.4 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.3569, allocations: 27.97 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.357, allocations: 4 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.357, allocations: 15.92 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.3571, allocations: 23.95 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3571, allocations: 4 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.3576, allocations: 315.4 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.3576, allocations: 15.97 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.3576, allocations: 11.92 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3579, allocations: 191 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3579, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3579, allocations: 4 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.358, allocations: 0 / 1.287 GB, free: 8.836 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.0005305/0.3585, allocations: 294 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3585, allocations: 8.031 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/0.3585, allocations: 8.125 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.3586, allocations: 34.75 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.359, allocations: 72.84 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3591, allocations: 106.5 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3592, allocations: 384 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3592, allocations: 8.375 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.3595, allocations: 77.56 kB / 1.288 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3595, allocations: 4 kB / 1.288 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3595, allocations: 3.984 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3595, allocations: 0 / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.3598, allocations: 63.94 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.36, allocations: 136.7 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.3606, allocations: 130.5 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3608, allocations: 44.92 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/0.3612, allocations: 75.84 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3613, allocations: 30.56 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.3613, allocations: 0 / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.001207/0.3625, allocations: 333 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3625, allocations: 63.39 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.3626, allocations: 89.86 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3626, allocations: 29.7 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.3627, allocations: 80.14 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.3627, allocations: 15.86 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.3628, allocations: 25.7 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3629, allocations: 310.8 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3631, allocations: 36.09 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3632, allocations: 43.89 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.3636, allocations: 72.8 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3636, allocations: 0 / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003853/0.3639, allocations: 113.6 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.364, allocations: 8 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.364, allocations: 0 / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.364, allocations: 3.984 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3641, allocations: 23.98 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3641, allocations: 3.938 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3642, allocations: 12.23 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3643, allocations: 4 kB / 1.289 GB, free: 6.297 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.741e-05/0.3644, allocations: 113.8 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3644, allocations: 11.94 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.3649, allocations: 133.3 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3649, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3649, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3649, allocations: 3.984 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.365, allocations: 144.6 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.365, allocations: 4 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3652, allocations: 27.91 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3652, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3652, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3652, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3652, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.3658, allocations: 200.9 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.3659, allocations: 11.95 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3659, allocations: 0 / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.366, allocations: 15.98 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.366, allocations: 7.984 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3661, allocations: 336 / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.3661, allocations: 83.34 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3661, allocations: 0 / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002457/0.3663, allocations: 27.88 kB / 1.29 GB, free: 5.453 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.001043/0.3674, allocations: 0.745 MB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.3678, allocations: 88.17 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3678, allocations: 3.938 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.368, allocations: 44.09 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3681, allocations: 7.672 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.3705, allocations: 1.371 MB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3708, allocations: 0.6806 MB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.3709, allocations: 16 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.371, allocations: 19.42 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.371, allocations: 0 / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.3947, allocations: 2.221 MB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 11.5 kB / 1.295 GB, free: 264 kB / 0.9825 GB " [Timeout remaining time 287] (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.71342906000791]