Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 114.6 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 189.5 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002007/1.074, allocations: 0.7905 MB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001825/1.076, allocations: 1.48 MB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/1.076, allocations: 0 / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/1.076, allocations: 7.938 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/1.076, allocations: 3.938 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/1.076, allocations: 135.5 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/1.076, allocations: 47.95 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/1.076, allocations: 8 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/1.077, allocations: 27.92 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/1.077, allocations: 39.81 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/1.077, allocations: 8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/1.077, allocations: 311.4 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/1.077, allocations: 15.97 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/1.077, allocations: 27.86 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/1.077, allocations: 215.9 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.077, allocations: 0 / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.545e-06/1.078, allocations: 3.938 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.078, allocations: 4 kB / 1.17 GB, free: 0.7422 MB / 0.8887 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.0006876/1.078, allocations: 406.9 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.078, allocations: 8.625 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004736/1.079, allocations: 68.84 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.079, allocations: 168.3 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.079, allocations: 384 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/1.079, allocations: 8.375 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/1.079, allocations: 121.8 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.079, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.079, allocations: 7.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/1.079, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/1.08, allocations: 95.91 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/1.08, allocations: 340.6 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/1.081, allocations: 154.4 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/1.081, allocations: 60.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/1.081, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.081, allocations: 34.56 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.081, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 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.01788/1.099, allocations: 2.843 MB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.099, allocations: 55.41 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/1.1, allocations: 109.8 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/1.1, allocations: 25.7 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/1.1, allocations: 92.03 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/1.1, allocations: 43.67 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.1, allocations: 65.58 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.1, allocations: 314.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/1.101, allocations: 195.9 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/1.101, allocations: 195.8 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/1.103, allocations: 395 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.103, allocations: 4 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001561/1.104, allocations: 473.2 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.104, allocations: 4 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.104, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.104, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/1.105, allocations: 111.7 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.105, allocations: 3.938 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/1.106, allocations: 44.03 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/1.106, allocations: 31.86 kB / 1.177 GB, free: 10.03 MB / 0.9044 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.0001484/1.106, allocations: 121.8 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/1.106, allocations: 7.953 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/1.106, allocations: 7.969 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.106, allocations: 0 / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.106, allocations: 0 / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/1.106, allocations: 124.9 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/1.107, allocations: 4 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/1.107, allocations: 43.94 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.107, allocations: 27.92 kB / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002205/1.109, allocations: 0.6096 MB / 1.178 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002399/1.112, allocations: 0.8691 MB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006878/1.113, allocations: 195.9 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.591e-05/1.113, allocations: 87.2 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of Backend: time 6.11e-07/1.113, allocations: 0 / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.114, allocations: 361.8 kB / 1.179 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007443/1.115, allocations: 0.6394 MB / 1.18 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.01017/1.125, allocations: 6.94 MB / 1.186 GB, free: 15.88 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches