Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001377/0.001377, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001372/0.001372, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.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.741/2.741, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 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.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.89 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002097/1.029, allocations: 0.8037 MB / 1.273 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002185/1.031, allocations: 1.49 MB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/1.031, allocations: 0 / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/1.031, allocations: 4.75 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/1.031, allocations: 3.938 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/1.032, allocations: 149 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/1.032, allocations: 53 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/1.032, allocations: 8.5 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/1.032, allocations: 26.91 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/1.032, allocations: 32.64 kB / 1.275 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/1.032, allocations: 4.469 kB / 1.275 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/1.033, allocations: 324 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/1.033, allocations: 18.12 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/1.033, allocations: 25.48 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/1.033, allocations: 211.7 kB / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.033, allocations: 0 / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.033, allocations: 0.9375 kB / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.033, allocations: 0 / 1.275 GB, free: 6.039 MB / 0.9981 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.0006608/1.034, allocations: 405 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.034, allocations: 13.69 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004869/1.035, allocations: 70.5 kB / 1.276 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/1.035, allocations: 167.2 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/1.035, allocations: 7.781 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/1.035, allocations: 8.938 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/1.035, allocations: 117.3 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/1.035, allocations: 0.6562 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/1.035, allocations: 4.75 kB / 1.276 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.035, allocations: 1.844 kB / 1.276 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/1.036, allocations: 102.5 kB / 1.276 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/1.036, allocations: 334.7 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/1.037, allocations: 153.1 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/1.037, allocations: 53.98 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/1.037, allocations: 1.75 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.037, allocations: 32.02 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/1.037, allocations: 4 kB / 1.276 GB, free: 4.945 MB / 0.9981 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.01928/1.056, allocations: 2.84 MB / 1.279 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/1.056, allocations: 56.59 kB / 1.279 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/1.057, allocations: 101.5 kB / 1.279 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.057, allocations: 26.86 kB / 1.279 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/1.057, allocations: 91.38 kB / 1.28 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/1.057, allocations: 35.48 kB / 1.28 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.057, allocations: 74.44 kB / 1.28 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/1.057, allocations: 321.6 kB / 1.28 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/1.058, allocations: 188.2 kB / 1.28 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/1.058, allocations: 189.9 kB / 1.28 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.06, allocations: 400.8 kB / 1.281 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.06, allocations: 0 / 1.281 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001526/1.061, allocations: 481.2 kB / 1.281 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.061, allocations: 10.44 kB / 1.281 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.061, allocations: 0.7969 kB / 1.281 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.061, allocations: 0 / 1.281 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.062, allocations: 102.4 kB / 1.281 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.062, allocations: 11.94 kB / 1.281 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/1.063, allocations: 44.03 kB / 1.281 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/1.063, allocations: 26.33 kB / 1.281 GB, free: 3.09 MB / 0.9981 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 0.0001348/1.063, allocations: 120.6 kB / 1.281 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/1.063, allocations: 9.328 kB / 1.281 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/1.063, allocations: 8.766 kB / 1.281 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/1.063, allocations: 2.969 kB / 1.281 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.063, allocations: 4.641 kB / 1.281 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.063, allocations: 4.547 kB / 1.281 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.065, allocations: 1.046 MB / 1.282 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.065, allocations: 0 / 1.282 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/1.066, allocations: 110.5 kB / 1.283 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.066, allocations: 3.938 kB / 1.283 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/1.066, allocations: 27.03 kB / 1.283 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.066, allocations: 0 / 1.283 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.066, allocations: 0.7812 kB / 1.283 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/1.068, allocations: 0.7919 MB / 1.283 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/1.069, allocations: 122.7 kB / 1.284 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/1.069, allocations: 0.5625 kB / 1.284 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/1.069, allocations: 48.05 kB / 1.284 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.069, allocations: 32.36 kB / 1.284 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/1.07, allocations: 21.25 kB / 1.284 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.022e-05/1.07, allocations: 79.33 kB / 1.284 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.07, allocations: 2.188 kB / 1.284 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004087/1.07, allocations: 50.17 kB / 1.284 GB, free: 1.742 MB / 0.9981 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.0002098/1.07, allocations: 120.5 kB / 1.284 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.072, allocations: 419.1 kB / 1.284 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.072, allocations: 0 / 1.284 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007792/1.072, allocations: 223.8 kB / 1.284 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/1.073, allocations: 15.97 kB / 1.284 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/1.077, allocations: 0.7814 MB / 1.285 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/1.077, allocations: 0.6905 MB / 1.286 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005189/1.078, allocations: 89.62 kB / 1.286 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/1.078, allocations: 54.48 kB / 1.286 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.078, allocations: 0 / 1.286 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of Templates: time 0.007262/1.085, allocations: 3.557 MB / 1.29 GB, free: 292 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: 9.157962197437882]