Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 109.8 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 185.6 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8778, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001908/0.8797, allocations: 0.6256 MB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.8818, allocations: 1.457 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.8819, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.8819, allocations: 3.938 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-05/0.882, allocations: 7.922 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.8826, allocations: 129.1 kB / 1.17 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.8827, allocations: 27.86 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.8827, allocations: 4 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.8828, allocations: 19.91 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.8829, allocations: 19.92 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.8829, allocations: 0 / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.8834, allocations: 319.3 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.8835, allocations: 4 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.8835, allocations: 15.86 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.8838, allocations: 187.7 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8838, allocations: 4 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8838, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8838, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005672/0.8844, allocations: 377.1 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8845, allocations: 12.03 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.8849, allocations: 60.77 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.8851, allocations: 172.2 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.8851, allocations: 8.375 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.8851, allocations: 384 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.8854, allocations: 89.83 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.8854, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.8854, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.8854, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.8858, allocations: 75.91 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.886, allocations: 161.7 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.8866, allocations: 126.5 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.8868, allocations: 48.88 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.8868, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8868, allocations: 38.5 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.8868, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 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=9): time 0.004142/0.891, allocations: 0.7818 MB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.891, allocations: 55.34 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.8911, allocations: 113.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.8912, allocations: 25.7 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.8912, allocations: 96.12 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.8913, allocations: 23.72 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.8914, allocations: 29.64 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8915, allocations: 318.8 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.8919, allocations: 91.91 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.8923, allocations: 99.89 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.8931, allocations: 196.6 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.8931, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008796/0.894, allocations: 241.3 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.894, allocations: 8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.894, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8941, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.8944, allocations: 55.88 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8944, allocations: 3.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.8946, allocations: 31.97 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.8947, allocations: 11.98 kB / 1.173 GB, free: 13.51 MB / 0.9044 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 (9): * Single equations (assignments): 9 * 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 9.501e-05/0.8948, allocations: 117.7 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.8948, allocations: 4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.8948, allocations: 16.38 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8948, allocations: 0.75 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8949, allocations: 3.938 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8949, allocations: 7.969 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.8965, allocations: 0.6015 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8965, allocations: 288 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.8968, allocations: 60 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8968, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8968, allocations: 7.938 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.8968, allocations: 80 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.8968, allocations: 3.984 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.8978, allocations: 348.8 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.8978, allocations: 77.11 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.8979, allocations: 8 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.8981, allocations: 35.95 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.8982, allocations: 11.92 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.8982, allocations: 7.984 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.8983, allocations: 91.22 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8983, allocations: 0 / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003007/0.8986, allocations: 39.98 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002326/0.8988, allocations: 127.2 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008905/0.8997, allocations: 219.7 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8997, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.9002, allocations: 108 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.9004, allocations: 0 / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.902, allocations: 431.9 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.9023, allocations: 0.6846 MB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.9024, allocations: 19.42 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.9024, allocations: 0 / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.003317/0.9057, allocations: 1.442 MB / 1.178 GB, free: 8.887 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches