Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0009741/0.0009741, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009412/0.0009412, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9152/0.9152, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.982e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.004349/0.004368, allocations: 0.6243 MB / 0.8122 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005973, allocations: 1.476 MB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.005997, allocations: 1.531 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.006012, allocations: 0 / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.00604, allocations: 3.938 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.006487, allocations: 138.4 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.00655, allocations: 27.97 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.006586, allocations: 4 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.116e-05/0.006647, allocations: 26.5 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.006715, allocations: 27.95 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.00673, allocations: 0 / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.007056, allocations: 239.5 kB / 0.8141 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.007071, allocations: 11.92 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.007093, allocations: 7.984 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/0.01038, allocations: 211.4 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01038, allocations: 0.5312 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.01038, allocations: 0.7188 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.01039, allocations: 0 / 0.8143 GB, free: 15.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004166/0.0108, allocations: 394.1 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.01084, allocations: 8.031 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.01113, allocations: 54.48 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.01121, allocations: 117.7 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.01123, allocations: 384 / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.01125, allocations: 9.75 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.01143, allocations: 96.61 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.01143, allocations: 1.938 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.01145, allocations: 8.375 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.01146, allocations: 3.938 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.01152, allocations: 19.97 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.01165, allocations: 117.5 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.01187, allocations: 61.27 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.01191, allocations: 27.77 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.01211, allocations: 42.7 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.01214, allocations: 37.39 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.01214, allocations: 0 / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0004766/0.01261, allocations: 219.2 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.01264, allocations: 55.34 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.01271, allocations: 157.9 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01272, allocations: 30.2 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.01276, allocations: 127.4 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.01278, allocations: 21.23 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.01283, allocations: 27.36 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01294, allocations: 0.4923 MB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.01297, allocations: 11.92 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.013, allocations: 8.5 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.934e-05/0.01307, allocations: 32.97 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01307, allocations: 0 / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.794e-05/0.01317, allocations: 66.59 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.01318, allocations: 4 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01319, allocations: 4 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.0132, allocations: 7.672 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.01328, allocations: 23.86 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01328, allocations: 0 / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.01331, allocations: 8 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.01332, allocations: 7.922 kB / 0.8165 GB, free: 12.73 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 (6): * Single equations (assignments): 6 * 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 5.929e-05/0.01338, allocations: 160.6 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.01339, allocations: 0 / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.01353, allocations: 81.19 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01353, allocations: 4 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01353, allocations: 5.062 kB / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01354, allocations: 0 / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.417e-05/0.01361, allocations: 124.6 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01361, allocations: 1.094 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.01368, allocations: 19.92 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01368, allocations: 0.7188 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.01369, allocations: 4 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01369, allocations: 0.6562 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01369, allocations: 0 / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.01384, allocations: 121.3 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.01387, allocations: 7.984 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01388, allocations: 5.875 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.01392, allocations: 12.17 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.01395, allocations: 11.92 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01396, allocations: 4 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.014, allocations: 120.5 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.014, allocations: 0 / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002222/0.01422, allocations: 35.88 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001551/0.01437, allocations: 132 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01449, allocations: 40.31 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01449, allocations: 6.562 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.01454, allocations: 31.61 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.01468, allocations: 4 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.01504, allocations: 154.5 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.282e-05/0.01507, allocations: 57.02 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.373e-05/0.01514, allocations: 20.81 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.01519, allocations: 16.44 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.01519, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.002761/0.01795, allocations: 1.23 MB / 0.8188 GB, free: 10.24 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.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.055363620864227]