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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 191.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 1.062 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7991, allocations: 160.8 MB / 1.219 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002014/0.8011, allocations: 0.7984 MB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.8031, allocations: 1.502 MB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.8031, allocations: 1.344 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.8032, allocations: 3.938 kB / 1.221 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.8032, allocations: 3.938 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.8038, allocations: 145.8 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.8039, allocations: 46.94 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.804, allocations: 7.156 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.8041, allocations: 23.28 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.8041, allocations: 37.78 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.8042, allocations: 4.969 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005913/0.8048, allocations: 326.4 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.8048, allocations: 10.7 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.8048, allocations: 30.55 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.8053, allocations: 214.2 kB / 1.222 GB, free: 1.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8053, allocations: 3.984 kB / 1.222 GB, free: 1.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8053, allocations: 0 / 1.222 GB, free: 1.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8053, allocations: 0 / 1.222 GB, free: 1.379 MB / 0.92 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.0008034/0.8061, allocations: 402 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.8061, allocations: 9.094 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.8066, allocations: 69.53 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.8068, allocations: 166.5 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.8068, allocations: 19.53 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.8069, allocations: 5.031 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.8073, allocations: 113.3 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.8073, allocations: 0 / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.8073, allocations: 1.094 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8073, allocations: 6.062 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.8078, allocations: 98.42 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.8085, allocations: 345.3 kB / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.8091, allocations: 146.7 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.8093, allocations: 57.55 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.8094, allocations: 1.094 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.8094, allocations: 35.81 kB / 1.223 GB, free: 120 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.8094, allocations: 0 / 1.223 GB, free: 120 kB / 0.92 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.01793/0.8273, allocations: 2.839 MB / 1.226 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.8274, allocations: 56.47 kB / 1.226 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.8275, allocations: 102.4 kB / 1.226 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.8276, allocations: 31.03 kB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.8276, allocations: 93.42 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.8277, allocations: 36.38 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.8279, allocations: 69.73 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.828, allocations: 320.2 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.8287, allocations: 189 kB / 1.227 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.8293, allocations: 197.2 kB / 1.227 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.8306, allocations: 392.9 kB / 1.227 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8306, allocations: 1.188 kB / 1.227 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001441/0.832, allocations: 482.6 kB / 1.228 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.832, allocations: 5.969 kB / 1.228 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.832, allocations: 4 kB / 1.228 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.8321, allocations: 1.094 kB / 1.228 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.8329, allocations: 101.2 kB / 1.228 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8329, allocations: 5.156 kB / 1.228 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.8335, allocations: 53.72 kB / 1.228 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.8335, allocations: 26.08 kB / 1.228 GB, free: 12.97 MB / 0.9356 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.0001828/0.8337, allocations: 116.9 kB / 1.228 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.8338, allocations: 11.2 kB / 1.228 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.8338, allocations: 13.22 kB / 1.228 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.8338, allocations: 1.156 kB / 1.228 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8338, allocations: 5.25 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8338, allocations: 0 / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.8361, allocations: 1.045 MB / 1.229 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8361, allocations: 4 kB / 1.229 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.8369, allocations: 105.2 kB / 1.229 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.8369, allocations: 5.094 kB / 1.229 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.837, allocations: 20.53 kB / 1.229 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.837, allocations: 7.984 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.837, allocations: 1.625 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.8393, allocations: 0.7936 MB / 1.23 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.8394, allocations: 117 kB / 1.23 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.8395, allocations: 3.984 kB / 1.23 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.8401, allocations: 47.94 kB / 1.23 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.8402, allocations: 27.98 kB / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.8403, allocations: 23.94 kB / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.8404, allocations: 87.27 kB / 1.23 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8404, allocations: 3.938 kB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003718/0.8407, allocations: 48 kB / 1.23 GB, free: 10.73 MB / 0.9356 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.0002244/0.841, allocations: 111.2 kB / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.8424, allocations: 427.5 kB / 1.231 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8424, allocations: 3.938 kB / 1.231 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.8431, allocations: 223.7 kB / 1.231 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.8434, allocations: 8 kB / 1.231 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.8476, allocations: 0.7632 MB / 1.232 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.8479, allocations: 0.6885 MB / 1.232 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004689/0.8483, allocations: 88.67 kB / 1.232 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.8486, allocations: 59.3 kB / 1.233 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8486, allocations: 0 / 1.233 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of Templates: time 0.007173/0.8558, allocations: 3.588 MB / 1.236 GB, free: 4.715 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.757754978723824]