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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001237/0.001237, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001379/0.001379, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 436.5 MB / 0.7104 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003246, allocations: 16 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7844, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001087/0.7855, allocations: 0.4984 MB / 1.021 GB, free: 0.6055 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.7876, allocations: 1.404 MB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.7876, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.7876, allocations: 0 / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.7877, allocations: 0 / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.7882, allocations: 111.7 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.7883, allocations: 31.91 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.157e-05/0.7883, allocations: 7.984 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.7884, allocations: 27.91 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.7885, allocations: 35.83 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.7885, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.789, allocations: 315.5 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.789, allocations: 15.91 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.7891, allocations: 33.7 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.7893, allocations: 143.8 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7893, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7893, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7894, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 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.0006842/0.79, allocations: 397.2 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7901, allocations: 11.98 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.7906, allocations: 87.81 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.7907, allocations: 174.9 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.7908, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.7908, allocations: 8 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.7912, allocations: 125.6 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7912, allocations: 3.984 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.7912, allocations: 8 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7912, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.7917, allocations: 119.8 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.7923, allocations: 348.5 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.793, allocations: 178.4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.793, allocations: 7.969 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.793, allocations: 38.56 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.793, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 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.01778/0.8108, allocations: 3.178 MB / 1.028 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.8109, allocations: 55.41 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.811, allocations: 105.8 kB / 1.028 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.8111, allocations: 25.7 kB / 1.028 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.8111, allocations: 92.05 kB / 1.028 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.8112, allocations: 39.39 kB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.8112, allocations: 0 / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8113, allocations: 318.8 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/0.812, allocations: 223.7 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.8126, allocations: 218.7 kB / 1.029 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.8133, allocations: 219.8 kB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8133, allocations: 0 / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001479/0.8148, allocations: 0.517 MB / 1.03 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.8148, allocations: 10.12 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8148, allocations: 0 / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8149, allocations: 8 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.8157, allocations: 115.8 kB / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8157, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.8163, allocations: 59.89 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.8164, allocations: 31.92 kB / 1.03 GB, free: 7.504 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.8165, allocations: 117.8 kB / 1.03 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.8166, allocations: 3.906 kB / 1.03 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.8167, allocations: 11.97 kB / 1.03 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.8167, allocations: 3.984 kB / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.8167, allocations: 0 / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8167, allocations: 4 kB / 1.03 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.8188, allocations: 1.113 MB / 1.031 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8189, allocations: 0 / 1.031 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.8197, allocations: 119.8 kB / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8197, allocations: 3.984 kB / 1.031 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.8197, allocations: 19.94 kB / 1.031 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.8197, allocations: 7.953 kB / 1.031 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8197, allocations: 1.016 kB / 1.031 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.8222, allocations: 0.8659 MB / 1.032 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.8224, allocations: 116.9 kB / 1.032 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.8225, allocations: 11.94 kB / 1.032 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.8231, allocations: 56 kB / 1.032 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.8232, allocations: 35.88 kB / 1.032 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.8233, allocations: 23.92 kB / 1.032 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.8233, allocations: 83.28 kB / 1.032 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8234, allocations: 0 / 1.032 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000419/0.8238, allocations: 52 kB / 1.032 GB, free: 4.707 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002911/0.8241, allocations: 115.2 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.8256, allocations: 471.5 kB / 1.033 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8256, allocations: 0 / 1.033 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.8263, allocations: 247.7 kB / 1.033 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8267, allocations: 8.562 kB / 1.033 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.8308, allocations: 0.8621 MB / 1.034 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.8311, allocations: 0.6965 MB / 1.035 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00063/0.8317, allocations: 96.64 kB / 1.035 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.832, allocations: 59.3 kB / 1.035 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of SimCode: time 1.463e-06/0.832, allocations: 0 / 1.035 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of Templates: time 0.006275/0.8383, allocations: 3.238 MB / 1.038 GB, free: 14.86 MB / 0.795 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","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches