Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 180.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009037, allocations: 89.28 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.353e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2668, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9622/1.229, allocations: 149.9 MB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.229, allocations: 79.36 kB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01231/1.242, allocations: 4.175 MB / 1.363 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.084e-06/1.242, allocations: 3.938 kB / 1.363 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.242, allocations: 0 / 1.363 GB, free: 34.46 MB / 0.8386 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.0003856/1.242, allocations: 370.1 kB / 1.363 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.242, allocations: 11.41 kB / 1.363 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/1.243, allocations: 58.72 kB / 1.363 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/1.243, allocations: 171.4 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/1.243, allocations: 1.594 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/1.243, allocations: 3.688 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/1.243, allocations: 45.48 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.243, allocations: 1.5 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.243, allocations: 0 / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.243, allocations: 11.88 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/1.243, allocations: 29.81 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/1.243, allocations: 175.6 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/1.243, allocations: 48.45 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/1.243, allocations: 19.61 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/1.243, allocations: 0 / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/1.243, allocations: 32.34 kB / 1.364 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/1.243, allocations: 7.938 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002309/1.246, allocations: 446.8 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.246, allocations: 51.41 kB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/1.246, allocations: 102.7 kB / 1.364 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/1.246, allocations: 32.77 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/1.246, allocations: 87.48 kB / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/1.246, allocations: 25.11 kB / 1.365 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/1.246, allocations: 6.094 kB / 1.365 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.246, allocations: 323.8 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/1.246, allocations: 38.73 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/1.246, allocations: 40.05 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/1.246, allocations: 40.45 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/1.246, allocations: 0 / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002587/1.247, allocations: 134.4 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.247, allocations: 7.844 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.247, allocations: 2.062 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.247, allocations: 3.938 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/1.247, allocations: 71.23 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.247, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/1.247, allocations: 49.25 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/1.247, allocations: 8.297 kB / 1.365 GB, free: 32.82 MB / 0.8386 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 () * 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 7.742e-05/1.247, allocations: 108.7 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/1.247, allocations: 7.594 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/1.247, allocations: 9.969 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.247, allocations: 3.719 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.247, allocations: 4 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.247, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.249, allocations: 0.5208 MB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.249, allocations: 0 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.249, allocations: 69.69 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.249, allocations: 0 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.249, allocations: 9.484 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.249, allocations: 384 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.249, allocations: 3.953 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/1.249, allocations: 245.3 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/1.249, allocations: 87.55 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/1.249, allocations: 7.844 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/1.249, allocations: 48.05 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/1.25, allocations: 13.33 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/1.25, allocations: 12.98 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.111e-05/1.25, allocations: 93.98 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.25, allocations: 3.938 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002849/1.25, allocations: 41.62 kB / 1.367 GB, free: 31.96 MB / 0.8386 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 () * 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.0001767/1.25, allocations: 126.3 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002078/1.25, allocations: 90.2 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.25, allocations: 3.812 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/1.25, allocations: 49.95 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/1.251, allocations: 5.5 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.252, allocations: 357.8 kB / 1.367 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.252, allocations: 0.6962 MB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001357/1.252, allocations: 23.38 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.033e-05/1.252, allocations: 26.14 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.252, allocations: 0 / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.003961/1.256, allocations: 1.767 MB / 1.37 GB, free: 30.9 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches