Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001496/0.001496, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001703/0.001703, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.558/1.558, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 71.83 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9622/0.9637, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00249/0.9663, allocations: 0.7858 MB / 1.222 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.9686, allocations: 1.478 MB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.9687, allocations: 0 / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.9688, allocations: 3.938 kB / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.9689, allocations: 3.938 kB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.9697, allocations: 143.5 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.9698, allocations: 51.89 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.9699, allocations: 3.938 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.97, allocations: 27.92 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.9701, allocations: 39.88 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.9701, allocations: 4 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.9706, allocations: 315.4 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.9707, allocations: 15.92 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.9707, allocations: 23.92 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.9712, allocations: 211.5 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9712, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9712, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9712, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9512 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.0007259/0.9719, allocations: 395.2 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.972, allocations: 8.625 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.9725, allocations: 80.69 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.9726, allocations: 178.1 kB / 1.225 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.9727, allocations: 12.38 kB / 1.225 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.9727, allocations: 16.22 kB / 1.225 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.9731, allocations: 109.9 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.9731, allocations: 0 / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.9731, allocations: 4 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9732, allocations: 4 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.9737, allocations: 95.89 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.9743, allocations: 336.6 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.975, allocations: 158.4 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.9752, allocations: 56.81 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.9752, allocations: 0 / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.9753, allocations: 34.56 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9753, allocations: 3.938 kB / 1.225 GB, free: 13.64 MB / 0.9512 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.01822/0.9935, allocations: 2.844 MB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.9936, allocations: 55.41 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.9937, allocations: 105.8 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.9938, allocations: 25.7 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.9938, allocations: 91.98 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.468e-05/0.9939, allocations: 39.45 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.9941, allocations: 69.58 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9942, allocations: 314.8 kB / 1.229 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.9949, allocations: 191.8 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.9956, allocations: 191.8 kB / 1.229 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.9969, allocations: 394.3 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9969, allocations: 0 / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001578/0.9985, allocations: 481.2 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.9985, allocations: 4 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9986, allocations: 4 kB / 1.23 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.9986, allocations: 4 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.9994, allocations: 103.8 kB / 1.23 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.9994, allocations: 3.938 kB / 1.23 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/1, allocations: 47.94 kB / 1.23 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/1, allocations: 23.92 kB / 1.23 GB, free: 8.543 MB / 0.9512 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.0001788/1, allocations: 122.3 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/1, allocations: 8 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/1, allocations: 7.969 kB / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.001, allocations: 0 / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.001, allocations: 3.984 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.001, allocations: 121 kB / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/1.001, allocations: 15.88 kB / 1.23 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/1.001, allocations: 47.94 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.002, allocations: 27.92 kB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002247/1.004, allocations: 0.5941 MB / 1.231 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002383/1.006, allocations: 0.8729 MB / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006748/1.007, allocations: 195.9 kB / 1.232 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.913e-05/1.007, allocations: 83.27 kB / 1.232 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of Backend: time 1.263e-06/1.007, allocations: 0 / 1.232 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001397/1.008, allocations: 361.3 kB / 1.233 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008086/1.009, allocations: 0.644 MB / 1.233 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of Templates: time 0.01195/1.021, allocations: 6.939 MB / 1.24 GB, free: 14.4 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches