Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 79.75 kB / 20.24 MB, free: 4.164 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 157.4 kB / 23.55 MB, free: 0.8516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.103/3.103, allocations: 377.9 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.76e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002239/0.002266, allocations: 0.7954 MB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.004706, allocations: 1.475 MB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.004742, allocations: 5.531 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.004769, allocations: 3.938 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.004816, allocations: 0 / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.005418, allocations: 150.2 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.005531, allocations: 47.91 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.005569, allocations: 5.094 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.005684, allocations: 35.89 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.005752, allocations: 31.94 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.005777, allocations: 4.844 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.006243, allocations: 247.5 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.006274, allocations: 18.11 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.006309, allocations: 15.97 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.006774, allocations: 227.3 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006777, allocations: 3.938 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006778, allocations: 0 / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.006786, allocations: 4 kB / 0.8138 GB, free: 15 MB / 0.7761 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.0007449/0.00753, allocations: 425 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.007568, allocations: 8.031 kB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/0.007997, allocations: 59.55 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.008123, allocations: 108.6 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.008149, allocations: 9.25 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.008183, allocations: 8.359 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.008589, allocations: 154.1 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.008601, allocations: 0.8125 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.008621, allocations: 9.75 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.008628, allocations: 7.875 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.008999, allocations: 73.69 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.00965, allocations: 320.9 kB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.01018, allocations: 138.1 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.01037, allocations: 50.94 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.01039, allocations: 0 / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.01043, allocations: 33.39 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.01043, allocations: 4 kB / 0.8152 GB, free: 13.5 MB / 0.7761 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.01761/0.02805, allocations: 2.483 MB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.0281, allocations: 55.41 kB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.02825, allocations: 157.9 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.02831, allocations: 25.7 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.02842, allocations: 142.8 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.02851, allocations: 47.73 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.02871, allocations: 75.23 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002947/0.029, allocations: 0.4961 MB / 0.8186 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.02965, allocations: 215.8 kB / 0.8188 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.03027, allocations: 219.8 kB / 0.819 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.03155, allocations: 443.3 kB / 0.8194 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.03155, allocations: 3.984 kB / 0.8194 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00155/0.0331, allocations: 0.5147 MB / 0.8199 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.03312, allocations: 8 kB / 0.8199 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03313, allocations: 0 / 0.8199 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.03315, allocations: 0 / 0.8199 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.03395, allocations: 87.81 kB / 0.82 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.03396, allocations: 7.938 kB / 0.82 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.03455, allocations: 31.97 kB / 0.8201 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.03461, allocations: 19.94 kB / 0.8201 GB, free: 8.379 MB / 0.7761 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.0001998/0.03481, allocations: 168.5 kB / 0.8202 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.03493, allocations: 7.953 kB / 0.8202 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.03499, allocations: 16.12 kB / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.03499, allocations: 0 / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.035, allocations: 4 kB / 0.8203 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.03502, allocations: 4 kB / 0.8203 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.0374, allocations: 1.046 MB / 0.8213 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0374, allocations: 0 / 0.8213 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.03821, allocations: 95.81 kB / 0.8214 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.03822, allocations: 4 kB / 0.8214 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/0.03828, allocations: 19.94 kB / 0.8214 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.03828, allocations: 0 / 0.8214 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.03828, allocations: 0 / 0.8214 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.04069, allocations: 0.9134 MB / 0.8223 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.04086, allocations: 43.8 kB / 0.8223 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.04093, allocations: 4 kB / 0.8223 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.04156, allocations: 31.95 kB / 0.8224 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.04168, allocations: 23.92 kB / 0.8224 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.04175, allocations: 35.86 kB / 0.8224 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.04184, allocations: 127.2 kB / 0.8226 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.04184, allocations: 0 / 0.8226 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004113/0.04225, allocations: 52 kB / 0.8226 GB, free: 5.664 MB / 0.7761 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.000243/0.04249, allocations: 111.2 kB / 0.8227 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.04395, allocations: 479.2 kB / 0.8232 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.04395, allocations: 0 / 0.8232 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.04467, allocations: 259.5 kB / 0.8234 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.04502, allocations: 39.28 kB / 0.8235 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.04914, allocations: 0.6892 MB / 0.8241 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.319e-05/0.04923, allocations: 82.97 kB / 0.8242 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005675/0.0498, allocations: 97.05 kB / 0.8243 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.05009, allocations: 60.36 kB / 0.8244 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of SimCode: time 1.212e-06/0.05009, allocations: 0 / 0.8244 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of Templates: time 0.0087/0.05879, allocations: 3.767 MB / 0.828 GB, free: 64 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.305780382012017]