Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001626/0.001626, allocations: 80.3 kB / 19.18 MB, free: 2.527 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.002608/0.002608, allocations: 174 kB / 22.46 MB, free: 5.355 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.93/2.93, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.606e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00189/0.001916, allocations: 0.7762 MB / 0.9822 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.004096, allocations: 1.451 MB / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.004131, allocations: 0 / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.004164, allocations: 3.938 kB / 0.9837 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.004215, allocations: 11.94 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.00479, allocations: 139.4 kB / 0.9838 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.004916, allocations: 55.83 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.004965, allocations: 11.98 kB / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.00507, allocations: 27.97 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.005133, allocations: 31.89 kB / 0.9839 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.005154, allocations: 4 kB / 0.9839 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.005571, allocations: 255.4 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.005596, allocations: 15.97 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.005632, allocations: 19.92 kB / 0.9842 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.005996, allocations: 219.5 kB / 0.9844 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005998, allocations: 3.938 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005999, allocations: 0 / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.006006, allocations: 0 / 0.9844 GB, free: 8.852 MB / 0.9356 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.0006755/0.006681, allocations: 337.7 kB / 0.9848 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.006718, allocations: 12.03 kB / 0.9848 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.007193, allocations: 68.84 kB / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.007314, allocations: 117.7 kB / 0.9849 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.007342, allocations: 4.375 kB / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.007375, allocations: 12.38 kB / 0.985 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.007807, allocations: 161.6 kB / 0.9851 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.007819, allocations: 192 / 0.9851 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.007834, allocations: 384 / 0.9851 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.007841, allocations: 3.938 kB / 0.9851 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.008365, allocations: 103.8 kB / 0.9852 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.008981, allocations: 264.5 kB / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.009713, allocations: 158.3 kB / 0.9856 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.009973, allocations: 56.81 kB / 0.9857 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.009989, allocations: 0 / 0.9857 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.01002, allocations: 38.56 kB / 0.9857 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.01002, allocations: 0 / 0.9857 GB, free: 7.418 MB / 0.9356 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.01927/0.02929, allocations: 2.691 MB / 0.9883 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.02934, allocations: 59.41 kB / 0.9884 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.02942, allocations: 97.84 kB / 0.9885 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.02949, allocations: 29.7 kB / 0.9885 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.02955, allocations: 88.09 kB / 0.9886 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.02963, allocations: 47.62 kB / 0.9886 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.02981, allocations: 65.58 kB / 0.9887 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.02996, allocations: 326.9 kB / 0.989 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.03069, allocations: 199.7 kB / 0.9892 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.03141, allocations: 187.8 kB / 0.9894 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.03294, allocations: 396.3 kB / 0.9898 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.03294, allocations: 4 kB / 0.9898 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001735/0.03468, allocations: 473.2 kB / 0.9902 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.03469, allocations: 8 kB / 0.9902 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.0347, allocations: 0 / 0.9902 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.03471, allocations: 0 / 0.9902 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/0.03559, allocations: 115.7 kB / 0.9903 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.0356, allocations: 0 / 0.9903 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.03625, allocations: 43.94 kB / 0.9904 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.03632, allocations: 27.94 kB / 0.9904 GB, free: 2.492 MB / 0.9356 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.0001625/0.03648, allocations: 117.8 kB / 0.9905 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.03658, allocations: 3.953 kB / 0.9905 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.03663, allocations: 20.11 kB / 0.9905 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.03663, allocations: 3.938 kB / 0.9905 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.03664, allocations: 0 / 0.9905 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.03664, allocations: 0 / 0.9905 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.03908, allocations: 0.9649 MB / 0.9915 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.03908, allocations: 0 / 0.9915 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.03995, allocations: 103.8 kB / 0.9916 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.03995, allocations: 4 kB / 0.9916 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.04001, allocations: 19.94 kB / 0.9916 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.04001, allocations: 0 / 0.9916 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04001, allocations: 0 / 0.9916 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.04262, allocations: 0.8035 MB / 0.9924 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.04276, allocations: 43.95 kB / 0.9924 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.04283, allocations: 0 / 0.9924 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.04354, allocations: 47.92 kB / 0.9925 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.04366, allocations: 27.92 kB / 0.9925 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.04373, allocations: 31.88 kB / 0.9925 GB, free: 192 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.04378, allocations: 79.28 kB / 0.9926 GB, free: 112 kB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.04378, allocations: 0 / 0.9926 GB, free: 112 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003826/0.04416, allocations: 55.98 kB / 0.9927 GB, free: 56 kB / 0.9356 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.0002792/0.04444, allocations: 107.2 kB / 0.9928 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.04602, allocations: 423.4 kB / 0.9932 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.04603, allocations: 0 / 0.9932 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.04683, allocations: 227.7 kB / 0.9934 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.04723, allocations: 12 kB / 0.9934 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.05167, allocations: 0.7503 MB / 0.9941 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.05177, allocations: 91.02 kB / 0.9942 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004966/0.05226, allocations: 89.06 kB / 0.9943 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.05257, allocations: 56.36 kB / 0.9944 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.05257, allocations: 0 / 0.9944 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.007565/0.06013, allocations: 3.697 MB / 0.998 GB, free: 10.58 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.301882039755583]