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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 100.4 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.0009157/0.0009157, allocations: 177.3 kB / 15.94 MB, free: 228 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.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9304/0.9308, allocations: 142.3 MB / 0.9535 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008696/0.9317, allocations: 361 kB / 0.9539 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.9334, allocations: 1.393 MB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.9335, allocations: 4 kB / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.9335, allocations: 0 / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.9336, allocations: 5.484 kB / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.9339, allocations: 93.25 kB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.934, allocations: 13.42 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.9341, allocations: 5.781 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/0.9341, allocations: 17.83 kB / 0.9554 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.9342, allocations: 22.16 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.9342, allocations: 1.875 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.9347, allocations: 306.2 kB / 0.9557 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.9347, allocations: 9.031 kB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.9347, allocations: 31.44 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.935, allocations: 136.2 kB / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.935, allocations: 0 / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.524e-06/0.935, allocations: 0 / 0.9558 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.935, allocations: 0 / 0.9558 GB, free: 6.414 MB / 0.7169 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.0004648/0.9355, allocations: 368.5 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.9355, allocations: 12.59 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.9359, allocations: 78.06 kB / 0.9563 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.9361, allocations: 176.1 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.9361, allocations: 4.938 kB / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.9361, allocations: 6.062 kB / 0.9565 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.9364, allocations: 79.23 kB / 0.9565 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.9364, allocations: 3.984 kB / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.9365, allocations: 0 / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9365, allocations: 5.312 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.9368, allocations: 89.16 kB / 0.9566 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.937, allocations: 174.9 kB / 0.9568 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.9375, allocations: 145.2 kB / 0.9569 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.9376, allocations: 3.984 kB / 0.9569 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.9376, allocations: 36.78 kB / 0.957 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.9376, allocations: 3.938 kB / 0.957 GB, free: 5.344 MB / 0.7169 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.004094/0.9417, allocations: 0.9412 MB / 0.9579 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.9417, allocations: 55.36 kB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.9418, allocations: 122.7 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.9419, allocations: 25.7 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.9419, allocations: 85.27 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.9419, allocations: 31.39 kB / 0.9582 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.942, allocations: 1.25 kB / 0.9582 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.942, allocations: 320.1 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.9424, allocations: 114.1 kB / 0.9586 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.9429, allocations: 118.6 kB / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.9433, allocations: 113 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.9433, allocations: 0 / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000899/0.9442, allocations: 283 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.9443, allocations: 5.094 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9443, allocations: 4 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9443, allocations: 0.9688 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.9446, allocations: 71.45 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.9447, allocations: 5.016 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.9449, allocations: 46.02 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.9449, allocations: 3.969 kB / 0.9592 GB, free: 4.035 MB / 0.7169 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 8.046e-05/0.945, allocations: 115.9 kB / 0.9593 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.945, allocations: 7.344 kB / 0.9594 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.9451, allocations: 13.39 kB / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.9451, allocations: 1.188 kB / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.9451, allocations: 0 / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.9451, allocations: 5.797 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.9468, allocations: 0.6591 MB / 0.96 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.9468, allocations: 5.016 kB / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.9471, allocations: 67.5 kB / 0.9601 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9471, allocations: 6.266 kB / 0.9601 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.9471, allocations: 6.312 kB / 0.9601 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9471, allocations: 1.062 kB / 0.9601 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9471, allocations: 5.188 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.9481, allocations: 406.5 kB / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.9481, allocations: 87.41 kB / 0.9606 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.9481, allocations: 6.344 kB / 0.9606 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.9484, allocations: 46.45 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.9485, allocations: 8.703 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.9485, allocations: 3.969 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.9485, allocations: 90.61 kB / 0.9607 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9485, allocations: 0 / 0.9607 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003238/0.9489, allocations: 39.59 kB / 0.9608 GB, free: 2.871 MB / 0.7169 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.0002538/0.9491, allocations: 131.6 kB / 0.9609 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009943/0.9501, allocations: 259.4 kB / 0.9611 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9502, allocations: 1.625 kB / 0.9611 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.9506, allocations: 126.4 kB / 0.9613 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.9508, allocations: 12.09 kB / 0.9613 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.9524, allocations: 469.5 kB / 0.9617 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.9526, allocations: 0.693 MB / 0.9624 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.9527, allocations: 29.2 kB / 0.9624 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.9528, allocations: 23.73 kB / 0.9624 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.9528, allocations: 0 / 0.9624 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Templates: time 0.004611/0.9574, allocations: 1.536 MB / 0.9639 GB, free: 0.8281 MB / 0.7169 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