Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001022/0.001022, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009504/0.0009506, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8645, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008765/0.8654, allocations: 361.3 kB / 1.021 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.8673, allocations: 1.389 MB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.8673, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.8674, allocations: 3.938 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-05/0.8675, allocations: 7.984 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.8678, allocations: 95.69 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.742e-05/0.8679, allocations: 15.97 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.868, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.868, allocations: 15.92 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.8681, allocations: 23.91 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.8681, allocations: 4 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.8686, allocations: 307.4 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.8686, allocations: 11.97 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.8687, allocations: 29.64 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.8689, allocations: 137.8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8689, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8689, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.8689, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 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.0004809/0.8694, allocations: 379.1 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8695, allocations: 15.98 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.8699, allocations: 67.92 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.87, allocations: 167 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.8701, allocations: 8 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.8701, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.8704, allocations: 85.59 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.8704, allocations: 3.906 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8704, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8704, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.8708, allocations: 91.84 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.871, allocations: 169.6 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.8716, allocations: 146.5 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.8716, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.8716, allocations: 34.52 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.8717, allocations: 4 kB / 1.024 GB, free: 13.34 MB / 0.7794 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.00429/0.8759, allocations: 0.9459 MB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.876, allocations: 55.5 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.8761, allocations: 117.8 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.8762, allocations: 25.7 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.8763, allocations: 92.12 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.8763, allocations: 31.55 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.8763, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8765, allocations: 322.8 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.8769, allocations: 115.9 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.8773, allocations: 119.8 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.8778, allocations: 107.9 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8778, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009535/0.8788, allocations: 293.3 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8788, allocations: 8 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8788, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8789, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.8792, allocations: 67.94 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8792, allocations: 0 / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.8795, allocations: 47.95 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.8795, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.8796, allocations: 117.8 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.8796, allocations: 7.953 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.8797, allocations: 8.375 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8797, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8797, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.8797, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.8815, allocations: 0.6599 MB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8815, allocations: 4.219 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.8818, allocations: 68.75 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8818, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.8818, allocations: 7.938 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.8818, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8818, allocations: 3.984 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.8829, allocations: 416.3 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.883, allocations: 81.11 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.883, allocations: 4 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.8832, allocations: 47.95 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.8833, allocations: 19.88 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.8833, allocations: 11.97 kB / 1.028 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.368e-05/0.8834, allocations: 91.66 kB / 1.028 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8834, allocations: 0 / 1.028 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003001/0.8837, allocations: 43.92 kB / 1.028 GB, free: 9.254 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.8839, allocations: 123.2 kB / 1.028 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009423/0.8849, allocations: 255.7 kB / 1.028 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8849, allocations: 0 / 1.028 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.8853, allocations: 128 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.8855, allocations: 8 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.8871, allocations: 472.3 kB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.8874, allocations: 0.6926 MB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.8875, allocations: 20.89 kB / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.8876, allocations: 27.36 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/0.8876, allocations: 0 / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of Templates: time 0.003938/0.8915, allocations: 1.544 MB / 1.031 GB, free: 5.938 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches