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.001301/0.001301, allocations: 114.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.001412/0.001412, allocations: 193.7 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.47/1.47, 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.77/2.77, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.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.00201/0.00201, allocations: 79.88 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9241/0.9261, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002045/0.9281, allocations: 0.7937 MB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.9301, allocations: 1.495 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.9302, allocations: 0 / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.9302, allocations: 3.938 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.9302, allocations: 7.938 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.9307, allocations: 143.4 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.9308, allocations: 51.94 kB / 1.277 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.9309, allocations: 11.98 kB / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.9309, allocations: 27.92 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.931, allocations: 31.84 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.931, allocations: 4 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.9315, allocations: 327.3 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.9315, allocations: 11.98 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.9316, allocations: 27.84 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.9319, allocations: 210 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9319, allocations: 4 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9319, allocations: 0 / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.9319, allocations: 0 / 1.277 GB, free: 1.406 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008254/0.9327, allocations: 406.9 kB / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.9328, allocations: 12.03 kB / 1.278 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.9333, allocations: 68.84 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.9335, allocations: 172.3 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.9335, allocations: 384 / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.9335, allocations: 8.375 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.9339, allocations: 117.9 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.934, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.934, allocations: 4 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.934, allocations: 3.938 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.9345, allocations: 103.9 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.9352, allocations: 336.6 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.9359, allocations: 154.5 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.9361, allocations: 56.81 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.9362, allocations: 4 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.9362, allocations: 30.56 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.9362, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 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.01888/0.9551, allocations: 2.84 MB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.9551, allocations: 63.28 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.9552, allocations: 101.8 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.9553, allocations: 29.7 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.9554, allocations: 88.09 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.9554, allocations: 43.67 kB / 1.282 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.9556, allocations: 69.58 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9558, allocations: 314.8 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007123/0.9565, allocations: 199.8 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.9572, allocations: 189.9 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.9586, allocations: 384.5 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9586, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001665/0.9602, allocations: 486.2 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.9602, allocations: 4 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9603, allocations: 4 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.9603, allocations: 3.984 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.9611, allocations: 107.8 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.9611, allocations: 3.938 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.9618, allocations: 47.94 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.9618, allocations: 19.94 kB / 1.283 GB, free: 10.7 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 (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.0001695/0.962, allocations: 113.8 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.9621, allocations: 7.953 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.9621, allocations: 19.89 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9622, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.9622, allocations: 3.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9622, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.9647, allocations: 1.039 MB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9647, allocations: 0 / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009075/0.9656, allocations: 119.7 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.9656, allocations: 3.938 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.9656, allocations: 23.94 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9656, allocations: 0 / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9656, allocations: 0 / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.9682, allocations: 0.7917 MB / 1.285 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.9684, allocations: 120.9 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.9684, allocations: 4 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.9691, allocations: 48 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.9692, allocations: 23.92 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.9693, allocations: 31.92 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001313/0.9694, allocations: 79.38 kB / 1.286 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9694, allocations: 3.938 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003891/0.9698, allocations: 59.94 kB / 1.286 GB, free: 8.051 MB / 0.9825 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.0002414/0.97, allocations: 119.6 kB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.9716, allocations: 411.5 kB / 1.286 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9716, allocations: 0 / 1.286 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.9724, allocations: 231.6 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.9728, allocations: 4 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.9773, allocations: 0.7753 MB / 1.287 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.9777, allocations: 0.6924 MB / 1.288 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.9782, allocations: 92.98 kB / 1.288 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.9784, allocations: 51.31 kB / 1.288 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.9784, allocations: 0 / 1.288 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.007175/0.9856, allocations: 3.566 MB / 1.292 GB, free: 2.062 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.997107345145196]