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.001872/0.001872, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002545/0.002545, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.902/2.902, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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.613e-06/1.613e-06, allocations: 0 / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.401e-05, allocations: 3.062 kB / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00186/0.001884, allocations: 0.7757 MB / 0.8116 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.004148, allocations: 1.464 MB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.004185, allocations: 0 / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.004213, allocations: 3.938 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.004257, allocations: 5.312 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.004797, allocations: 150.2 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.318e-05/0.00489, allocations: 47.91 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.004924, allocations: 7.984 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.342e-05/0.005017, allocations: 32.98 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.005082, allocations: 27.89 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.0051, allocations: 8.906 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.005551, allocations: 255.4 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.005576, allocations: 7.984 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.005616, allocations: 26.16 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.005989, allocations: 223.4 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005991, allocations: 0 / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005992, allocations: 0 / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.005995, allocations: 0 / 0.8138 GB, free: 15.01 MB / 0.7761 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.0006449/0.00664, allocations: 326.3 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.006673, allocations: 8.75 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.007195, allocations: 80.89 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.007305, allocations: 109.7 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.007327, allocations: 8.906 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.00736, allocations: 9.062 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.007794, allocations: 163.3 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.007806, allocations: 1.406 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.007823, allocations: 8.375 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.007832, allocations: 3.938 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.008337, allocations: 98.44 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.008914, allocations: 268.3 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.009616, allocations: 158.2 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.009868, allocations: 55.09 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.009885, allocations: 0 / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.009927, allocations: 43.55 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.009928, allocations: 3.938 kB / 0.8151 GB, free: 13.59 MB / 0.7761 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.01943/0.02936, allocations: 2.687 MB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.02941, allocations: 55.34 kB / 0.8178 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.02952, allocations: 101.8 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.02958, allocations: 29.7 kB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.02964, allocations: 92.09 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.02973, allocations: 39.83 kB / 0.818 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.02992, allocations: 73.53 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.03011, allocations: 326.8 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.03084, allocations: 187.8 kB / 0.8186 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.03155, allocations: 195.1 kB / 0.8188 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.03304, allocations: 392.5 kB / 0.8192 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.03304, allocations: 0 / 0.8192 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001749/0.03479, allocations: 477.3 kB / 0.8196 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.03481, allocations: 12 kB / 0.8196 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.03481, allocations: 0 / 0.8196 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.03483, allocations: 0 / 0.8196 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/0.03572, allocations: 103.8 kB / 0.8197 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.03572, allocations: 4 kB / 0.8197 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.03637, allocations: 47.94 kB / 0.8198 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.03644, allocations: 23.94 kB / 0.8198 GB, free: 8.691 MB / 0.7761 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.0001904/0.03663, allocations: 117.8 kB / 0.8199 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.03675, allocations: 15.95 kB / 0.8199 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.03681, allocations: 12.11 kB / 0.8199 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.03682, allocations: 7.938 kB / 0.8199 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.03683, allocations: 0 / 0.8199 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.03683, allocations: 0 / 0.8199 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.03942, allocations: 0.9571 MB / 0.8209 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.03942, allocations: 0 / 0.8209 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.04029, allocations: 103.8 kB / 0.821 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.0403, allocations: 3.938 kB / 0.821 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.04036, allocations: 23.94 kB / 0.821 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.04037, allocations: 4 kB / 0.821 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.04037, allocations: 4 kB / 0.821 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.04306, allocations: 0.7958 MB / 0.8218 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.04321, allocations: 39.89 kB / 0.8218 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.04328, allocations: 4 kB / 0.8218 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.044, allocations: 51.98 kB / 0.8219 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.04412, allocations: 23.92 kB / 0.8219 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.04419, allocations: 31.88 kB / 0.8219 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.04424, allocations: 79.28 kB / 0.822 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.04424, allocations: 0 / 0.822 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004129/0.04466, allocations: 63.92 kB / 0.8221 GB, free: 6.242 MB / 0.7761 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.0002484/0.04491, allocations: 111.1 kB / 0.8222 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.0465, allocations: 423.5 kB / 0.8226 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.04651, allocations: 0 / 0.8226 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.04732, allocations: 227.7 kB / 0.8228 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.04774, allocations: 37.44 kB / 0.8228 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.05217, allocations: 0.7487 MB / 0.8236 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.083e-05/0.05226, allocations: 83.02 kB / 0.8236 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005682/0.05282, allocations: 100.7 kB / 0.8237 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.05312, allocations: 52.38 kB / 0.8238 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.05312, allocations: 0 / 0.8238 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.008284/0.0614, allocations: 3.71 MB / 0.8274 GB, free: 0.7422 MB / 0.7761 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: 7.94902414502576]