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.001015/0.001015, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001079/0.001079, allocations: 168 kB / 24.87 MB, free: 8.867 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.869/1.869, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.725e-06/2.725e-06, allocations: 4.641 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.109e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001929/0.00195, allocations: 0.7878 MB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.004207, allocations: 1.496 MB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.004248, allocations: 0 / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.00428, allocations: 3.938 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.004333, allocations: 0 / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.004944, allocations: 146.7 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.005045, allocations: 51.84 kB / 0.8153 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.005086, allocations: 9.125 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.005197, allocations: 35.91 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.005259, allocations: 23.95 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.005279, allocations: 5.562 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.00567, allocations: 251.5 kB / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.0057, allocations: 15.97 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.005727, allocations: 15.94 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.006063, allocations: 219.4 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.006066, allocations: 2.594 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.22e-07/0.006067, allocations: 3.938 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.006071, allocations: 4 kB / 0.8158 GB, free: 14.35 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.000527/0.006598, allocations: 424.1 kB / 0.8162 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.006641, allocations: 8.031 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.006977, allocations: 59.73 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.9e-05/0.007076, allocations: 116.5 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.0071, allocations: 8.875 kB / 0.8164 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.007127, allocations: 8.359 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.007403, allocations: 156.8 kB / 0.8166 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.007414, allocations: 192 / 0.8166 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.007427, allocations: 384 / 0.8166 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.007438, allocations: 7.938 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.007511, allocations: 29.28 kB / 0.8166 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.007968, allocations: 296.2 kB / 0.8169 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.008152, allocations: 76.5 kB / 0.817 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.008195, allocations: 27.61 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.008208, allocations: 0.9062 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.008231, allocations: 37.39 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.008233, allocations: 0.8438 kB / 0.817 GB, free: 12.99 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.009751/0.01798, allocations: 1.878 MB / 0.8189 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.01801, allocations: 55.41 kB / 0.8189 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.01807, allocations: 161.9 kB / 0.8191 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.0181, allocations: 33.7 kB / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.01815, allocations: 138.8 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.01819, allocations: 39.67 kB / 0.8193 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.01831, allocations: 75.22 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.01841, allocations: 0.4922 MB / 0.8198 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.01856, allocations: 115.9 kB / 0.8199 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.0187, allocations: 115.9 kB / 0.82 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.01901, allocations: 250 kB / 0.8203 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01901, allocations: 4 kB / 0.8203 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004645/0.01947, allocations: 341.3 kB / 0.8206 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01949, allocations: 6.5 kB / 0.8206 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01949, allocations: 0 / 0.8206 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.0195, allocations: 4 kB / 0.8206 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.01986, allocations: 91.75 kB / 0.8207 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.01986, allocations: 4.312 kB / 0.8207 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.0201, allocations: 27.97 kB / 0.8207 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.02013, allocations: 27.92 kB / 0.8208 GB, free: 9.059 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.0001008/0.02023, allocations: 164.5 kB / 0.8209 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.02031, allocations: 11.95 kB / 0.8209 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.02034, allocations: 12.12 kB / 0.8209 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02034, allocations: 0 / 0.8209 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.02034, allocations: 4 kB / 0.8209 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.02035, allocations: 3.984 kB / 0.821 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.02117, allocations: 0.8244 MB / 0.8218 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.02117, allocations: 4 kB / 0.8218 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.02153, allocations: 95.69 kB / 0.8219 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02154, allocations: 0 / 0.8219 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.02157, allocations: 28.12 kB / 0.8219 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.02157, allocations: 7.984 kB / 0.8219 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02158, allocations: 0 / 0.8219 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.02228, allocations: 0.5815 MB / 0.8225 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.02237, allocations: 43.84 kB / 0.8225 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.02242, allocations: 0 / 0.8225 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.02268, allocations: 35.98 kB / 0.8225 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.02274, allocations: 27.86 kB / 0.8226 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.02278, allocations: 31.92 kB / 0.8226 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.02281, allocations: 123.2 kB / 0.8227 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02281, allocations: 0 / 0.8227 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000252/0.02306, allocations: 51.94 kB / 0.8228 GB, free: 6.898 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.0001314/0.02319, allocations: 111.2 kB / 0.8229 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.02356, allocations: 295.3 kB / 0.8231 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02356, allocations: 0 / 0.8231 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.02375, allocations: 155.5 kB / 0.8233 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.02396, allocations: 35.92 kB / 0.8233 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.02561, allocations: 0.6032 MB / 0.8239 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.02564, allocations: 67.28 kB / 0.824 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.02594, allocations: 88.73 kB / 0.8241 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.02621, allocations: 126.1 kB / 0.8242 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.02621, allocations: 0 / 0.8242 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of Templates: time 0.004772/0.03099, allocations: 3.949 MB / 0.828 GB, free: 1.441 MB / 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","",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.074184963013977]