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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.08 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8839, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001816/0.8857, allocations: 0.6054 MB / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.8879, allocations: 1.462 MB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.8879, allocations: 0 / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.8879, allocations: 3.938 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.755e-05/0.8879, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.8884, allocations: 147.4 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.8885, allocations: 27.97 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.8885, allocations: 3.938 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.8886, allocations: 19.97 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.8887, allocations: 23.97 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.8887, allocations: 4 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.8892, allocations: 319.3 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.8892, allocations: 11.92 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.8892, allocations: 7.984 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.8895, allocations: 190.2 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8895, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8895, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8895, allocations: 3.938 kB / 1.277 GB, free: 1.707 MB / 0.9669 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.0005789/0.8901, allocations: 371 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.8901, allocations: 12.03 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/0.8906, allocations: 72.84 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.8908, allocations: 168.3 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.8908, allocations: 384 / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.8908, allocations: 8.328 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.8911, allocations: 73.95 kB / 1.278 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8911, allocations: 4 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.8911, allocations: 0 / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.8911, allocations: 3.938 kB / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.8914, allocations: 63.92 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.8916, allocations: 169.7 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.8923, allocations: 118.5 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.8924, allocations: 44.91 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00051/0.893, allocations: 153 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.893, allocations: 42.48 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.893, allocations: 0 / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.001247/0.8942, allocations: 406.2 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.8943, allocations: 51.41 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.8944, allocations: 97.84 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.8944, allocations: 25.7 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.8944, allocations: 84.14 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.8945, allocations: 11.91 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.8945, allocations: 21.7 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8947, allocations: 314.9 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.8949, allocations: 39.97 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.895, allocations: 35.95 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.8953, allocations: 76.81 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.8953, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004003/0.8957, allocations: 117.8 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8957, allocations: 4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8958, allocations: 4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8958, allocations: 4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.8959, allocations: 31.91 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8959, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.896, allocations: 7.984 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.896, allocations: 4 kB / 1.279 GB, free: 14.83 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.0001447/0.8962, allocations: 114.3 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.8962, allocations: 7.938 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.8967, allocations: 137.1 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.8967, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8967, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8967, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.8968, allocations: 177.6 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8968, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.897, allocations: 31.84 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.897, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.897, allocations: 8 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.897, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.897, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.8976, allocations: 181 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.8977, allocations: 92.98 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.8977, allocations: 4 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.8979, allocations: 11.98 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.8979, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.8979, allocations: 4 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.8979, allocations: 83.33 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8979, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002382/0.8982, allocations: 35.81 kB / 1.28 GB, free: 13.86 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.0002347/0.8984, allocations: 131.1 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.8988, allocations: 84.14 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8988, allocations: 0 / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.899, allocations: 47.91 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.8991, allocations: 11.92 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.8998, allocations: 197.3 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.9001, allocations: 0.6807 MB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.651e-05/0.9002, allocations: 15.98 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.9002, allocations: 11.44 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9002, allocations: 0 / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.003893/0.9041, allocations: 1.183 MB / 1.283 GB, free: 11.44 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] 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_2/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: 8.824423502199352]