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.0009678/0.0009678, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009554/0.0009554, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9442/0.9442, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.822/1.822, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.054e-06/2.054e-06, allocations: 0 / 0.8116 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.009e-05, allocations: 4.703 kB / 0.8116 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002226/0.002257, allocations: 0.8072 MB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.004362, allocations: 1.51 MB / 0.8139 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.0044, allocations: 0 / 0.8139 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.004436, allocations: 3.938 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.004489, allocations: 5.188 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.005086, allocations: 146 kB / 0.814 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.005191, allocations: 51.89 kB / 0.8141 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.005233, allocations: 8.781 kB / 0.8141 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.005339, allocations: 35.97 kB / 0.8141 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.0054, allocations: 25.11 kB / 0.8141 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.005421, allocations: 4 kB / 0.8141 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.005827, allocations: 255.4 kB / 0.8144 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.005855, allocations: 17.38 kB / 0.8144 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.005891, allocations: 23.92 kB / 0.8144 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.006253, allocations: 211.4 kB / 0.8146 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.006256, allocations: 0 / 0.8146 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006257, allocations: 4.75 kB / 0.8146 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.006262, allocations: 0 / 0.8146 GB, free: 13.44 MB / 0.7292 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.0005722/0.006834, allocations: 428.6 kB / 0.815 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.006874, allocations: 8.688 kB / 0.815 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.007181, allocations: 60.92 kB / 0.8151 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.007272, allocations: 108.6 kB / 0.8152 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.007296, allocations: 12.38 kB / 0.8152 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.007325, allocations: 8.375 kB / 0.8152 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.007609, allocations: 157.6 kB / 0.8154 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.007621, allocations: 1.719 kB / 0.8154 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.007635, allocations: 384 / 0.8154 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.007645, allocations: 3.938 kB / 0.8154 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.007732, allocations: 31.97 kB / 0.8154 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.008217, allocations: 320.7 kB / 0.8157 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.008405, allocations: 83.52 kB / 0.8158 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.008452, allocations: 24.22 kB / 0.8158 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.008465, allocations: 0.5312 kB / 0.8158 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.008501, allocations: 46.19 kB / 0.8158 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.008502, allocations: 0 / 0.8158 GB, free: 12.04 MB / 0.7292 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.007517/0.01602, allocations: 1.995 MB / 0.8178 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.01605, allocations: 64.44 kB / 0.8179 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.01612, allocations: 153.9 kB / 0.818 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.01615, allocations: 29.7 kB / 0.818 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.0162, allocations: 139.5 kB / 0.8182 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.01625, allocations: 35.64 kB / 0.8182 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.01635, allocations: 76.08 kB / 0.8183 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01646, allocations: 0.4922 MB / 0.8188 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.01665, allocations: 147.3 kB / 0.8189 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.01682, allocations: 140 kB / 0.819 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.01721, allocations: 295.5 kB / 0.8193 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01721, allocations: 0 / 0.8193 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005377/0.01775, allocations: 374.3 kB / 0.8197 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01776, allocations: 4.719 kB / 0.8197 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.01776, allocations: 4.297 kB / 0.8197 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01778, allocations: 1.656 kB / 0.8197 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.01815, allocations: 91.83 kB / 0.8198 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01815, allocations: 4 kB / 0.8198 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.01838, allocations: 31.89 kB / 0.8198 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.01843, allocations: 27.92 kB / 0.8198 GB, free: 7.875 MB / 0.7292 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.0001076/0.01854, allocations: 160.5 kB / 0.82 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.01861, allocations: 19.95 kB / 0.82 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.01865, allocations: 12.11 kB / 0.82 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01865, allocations: 7.938 kB / 0.82 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.01866, allocations: 0 / 0.82 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01866, allocations: 0 / 0.82 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009154/0.01957, allocations: 0.8824 MB / 0.8209 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01958, allocations: 0 / 0.8209 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.01993, allocations: 87.83 kB / 0.821 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01993, allocations: 11.94 kB / 0.821 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.01997, allocations: 27.86 kB / 0.821 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01997, allocations: 0 / 0.821 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01997, allocations: 0 / 0.821 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.02079, allocations: 0.644 MB / 0.8216 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.02087, allocations: 39.86 kB / 0.8217 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.02091, allocations: 8 kB / 0.8217 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.02117, allocations: 31.98 kB / 0.8217 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.02124, allocations: 23.92 kB / 0.8217 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.02127, allocations: 31.88 kB / 0.8218 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.02131, allocations: 127.2 kB / 0.8219 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02131, allocations: 0 / 0.8219 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002563/0.02156, allocations: 52 kB / 0.8219 GB, free: 5.594 MB / 0.7292 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.0001424/0.0217, allocations: 107.1 kB / 0.822 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.02216, allocations: 342.3 kB / 0.8224 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02216, allocations: 4 kB / 0.8224 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.02238, allocations: 187.4 kB / 0.8225 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.0226, allocations: 35.92 kB / 0.8226 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.02432, allocations: 0.6074 MB / 0.8232 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.775e-05/0.02436, allocations: 63.28 kB / 0.8232 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.02465, allocations: 96.72 kB / 0.8233 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.02484, allocations: 52.38 kB / 0.8234 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/0.02485, allocations: 0 / 0.8234 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of Templates: time 0.004788/0.02963, allocations: 3.88 MB / 0.8272 GB, free: 192 kB / 0.7292 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.005822297185659]