Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001536/0.001537, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001579/0.001579, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6655 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9943/0.9959, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002252/0.9982, allocations: 0.7834 MB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002015/1, allocations: 1.476 MB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/1, allocations: 1.375 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/1, allocations: 4.5 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/1, allocations: 3.938 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/1.001, allocations: 149.3 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/1.001, allocations: 52.83 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/1.001, allocations: 8.625 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/1.001, allocations: 23.38 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/1.001, allocations: 35 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/1.001, allocations: 4.031 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/1.002, allocations: 329.9 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/1.002, allocations: 10.97 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/1.002, allocations: 25.34 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/1.002, allocations: 216.3 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.002, allocations: 0.75 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/1.002, allocations: 0 / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.003, allocations: 0 / 1.092 GB, free: 3.645 MB / 0.8575 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.000726/1.003, allocations: 400.2 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.003, allocations: 8.781 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/1.004, allocations: 72.62 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.004, allocations: 169.4 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/1.004, allocations: 7.531 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/1.004, allocations: 9.797 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/1.004, allocations: 110.7 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.004, allocations: 5.922 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/1.005, allocations: 1 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.005, allocations: 1.25 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/1.005, allocations: 102.2 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/1.006, allocations: 330.3 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/1.006, allocations: 151.7 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/1.007, allocations: 58.08 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/1.007, allocations: 6.062 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.007, allocations: 35.66 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.007, allocations: 1.219 kB / 1.093 GB, free: 2.566 MB / 0.8575 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.01909/1.026, allocations: 2.843 MB / 1.096 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.026, allocations: 53.17 kB / 1.096 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/1.026, allocations: 104.5 kB / 1.096 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/1.026, allocations: 27.2 kB / 1.096 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/1.026, allocations: 91.22 kB / 1.096 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/1.026, allocations: 35.62 kB / 1.096 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.026, allocations: 73.33 kB / 1.096 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/1.026, allocations: 322.8 kB / 1.097 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/1.027, allocations: 188 kB / 1.097 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/1.028, allocations: 193.5 kB / 1.097 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.029, allocations: 407.5 kB / 1.097 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.029, allocations: 4 kB / 1.097 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0017/1.031, allocations: 474 kB / 1.098 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.031, allocations: 5.312 kB / 1.098 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.031, allocations: 0 / 1.098 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.031, allocations: 5.062 kB / 1.098 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/1.032, allocations: 101.5 kB / 1.098 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.032, allocations: 5.688 kB / 1.098 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/1.033, allocations: 45.97 kB / 1.098 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.033, allocations: 27.44 kB / 1.098 GB, free: 0.7031 MB / 0.8575 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.0001696/1.033, allocations: 114.7 kB / 1.098 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/1.033, allocations: 6.312 kB / 1.098 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/1.033, allocations: 18.38 kB / 1.098 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.033, allocations: 1.766 kB / 1.098 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.033, allocations: 0 / 1.098 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.033, allocations: 117.6 kB / 1.098 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/1.033, allocations: 5.375 kB / 1.098 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/1.034, allocations: 47.75 kB / 1.098 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.034, allocations: 26.47 kB / 1.098 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002279/1.036, allocations: 0.6087 MB / 1.099 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002509/1.039, allocations: 0.8623 MB / 1.1 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007344/1.04, allocations: 197.1 kB / 1.1 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.575e-05/1.04, allocations: 83.59 kB / 1.1 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of Backend: time 7.02e-07/1.04, allocations: 0 / 1.1 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001488/1.041, allocations: 367.9 kB / 1.1 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007893/1.042, allocations: 0.6284 MB / 1.101 GB, free: 15 MB / 0.8731 GB Notification: Performance of Templates: time 0.01509/1.057, allocations: 6.955 MB / 1.108 GB, free: 14.59 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches