Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.0008914/0.0008914, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002194, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007745/0.0007745, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001881, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9753/0.9753, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09104/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.407/2.407, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2319/2.639, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.622e-05, allocations: 2.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001811/0.001827, allocations: 0.8453 MB / 0.8198 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.003633, allocations: 1.509 MB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.003665, allocations: 8 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.003691, allocations: 3.938 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.003716, allocations: 0 / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.00411, allocations: 143.3 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.004203, allocations: 47.91 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.004244, allocations: 4 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.004366, allocations: 39.89 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.004445, allocations: 27.94 kB / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.004465, allocations: 4 kB / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.004815, allocations: 267.4 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.004838, allocations: 11.94 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.004866, allocations: 8 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.005105, allocations: 179.5 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.005114, allocations: 0 / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005115, allocations: 4 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.005124, allocations: 0 / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004384/0.005562, allocations: 324 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.005593, allocations: 8.031 kB / 0.8223 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.005846, allocations: 141.9 kB / 0.8225 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.005924, allocations: 109.7 kB / 0.8226 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005941, allocations: 12.31 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.005963, allocations: 8.375 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.006135, allocations: 150.3 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.006143, allocations: 4.125 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006152, allocations: 384 / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006158, allocations: 7.938 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.006202, allocations: 22.73 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.006497, allocations: 212.2 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.006601, allocations: 58.48 kB / 0.823 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.006624, allocations: 20.84 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.006637, allocations: 11.92 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.006657, allocations: 30.56 kB / 0.8231 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.006658, allocations: 0 / 0.8231 GB, free: 14.1 MB / 0.8073 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.007422/0.01408, allocations: 2.164 MB / 0.8252 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.01411, allocations: 63.33 kB / 0.8253 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.491e-05/0.01415, allocations: 106.7 kB / 0.8254 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.01419, allocations: 29.7 kB / 0.8254 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.01422, allocations: 92.08 kB / 0.8255 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.01427, allocations: 39.64 kB / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.01436, allocations: 61.56 kB / 0.8256 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.01444, allocations: 318.8 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.01454, allocations: 96.06 kB / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01465, allocations: 99.92 kB / 0.8261 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.01491, allocations: 236.6 kB / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.01491, allocations: 0 / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002966/0.0152, allocations: 238.8 kB / 0.8265 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01522, allocations: 8 kB / 0.8265 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01522, allocations: 4 kB / 0.8265 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.01523, allocations: 0 / 0.8265 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.01559, allocations: 127.6 kB / 0.8266 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.0156, allocations: 0 / 0.8266 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.01579, allocations: 35.95 kB / 0.8267 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.01582, allocations: 15.94 kB / 0.8267 GB, free: 10.28 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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.419e-05/0.01592, allocations: 121.8 kB / 0.8268 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.01596, allocations: 4 kB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.016, allocations: 12.12 kB / 0.8268 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.016, allocations: 4 kB / 0.8268 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.016, allocations: 4 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.016, allocations: 3.984 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.01653, allocations: 470.4 kB / 0.8273 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01653, allocations: 0 / 0.8273 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.01688, allocations: 123.7 kB / 0.8274 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.01695, allocations: 27.91 kB / 0.8274 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01695, allocations: 0 / 0.8274 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.01697, allocations: 19.94 kB / 0.8274 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01698, allocations: 0 / 0.8274 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.01698, allocations: 0 / 0.8274 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.01744, allocations: 455.2 kB / 0.8279 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.01748, allocations: 0 / 0.8279 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.01769, allocations: 32 kB / 0.8279 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.01775, allocations: 23.92 kB / 0.8279 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.01778, allocations: 23.92 kB / 0.828 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.117e-05/0.01779, allocations: 8.844 kB / 0.828 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01779, allocations: 3.938 kB / 0.828 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002158/0.01801, allocations: 55.94 kB / 0.828 GB, free: 8.859 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001193/0.01813, allocations: 92.67 kB / 0.8281 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.01842, allocations: 237.6 kB / 0.8283 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.01843, allocations: 4 kB / 0.8283 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.01858, allocations: 140.6 kB / 0.8285 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01877, allocations: 123.2 kB / 0.8286 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.02018, allocations: 0.5625 MB / 0.8291 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.02021, allocations: 63.36 kB / 0.8292 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.02049, allocations: 92.72 kB / 0.8293 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.02076, allocations: 99.23 kB / 0.8294 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of SimCode: time 3.51e-07/0.02076, allocations: 0 / 0.8294 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of Templates: time 0.004619/0.02538, allocations: 3.888 MB / 0.8332 GB, free: 3.504 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.152037286199629]