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.008936/0.008936, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.002156/0.002156, allocations: 194.3 kB / 16.79 MB, free: 5.809 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.481/1.481, allocations: 222.9 MB / 240.5 MB, free: 4.527 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.378/2.378, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 68.08 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6578, allocations: 140.4 MB / 0.9496 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002118/0.66, allocations: 0.7059 MB / 0.9503 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.6618, allocations: 1.461 MB / 0.9517 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.6618, allocations: 3.938 kB / 0.9517 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.6619, allocations: 4 kB / 0.9517 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.662, allocations: 5.406 kB / 0.9517 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.6623, allocations: 90.48 kB / 0.9518 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.6624, allocations: 27.53 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.6624, allocations: 7.094 kB / 0.9518 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.6625, allocations: 9.781 kB / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.6625, allocations: 25.86 kB / 0.9519 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.6626, allocations: 1.562 kB / 0.9519 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.663, allocations: 315.1 kB / 0.9522 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.663, allocations: 13.3 kB / 0.9522 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.663, allocations: 10.67 kB / 0.9522 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.6632, allocations: 129.6 kB / 0.9523 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6632, allocations: 1.375 kB / 0.9523 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6632, allocations: 3.938 kB / 0.9523 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.6633, allocations: 0 / 0.9523 GB, free: 7.336 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.0004733/0.6637, allocations: 383.1 kB / 0.9527 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6638, allocations: 10 kB / 0.9527 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.6642, allocations: 58.36 kB / 0.9528 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6643, allocations: 181.5 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6643, allocations: 5.531 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.6644, allocations: 6.906 kB / 0.9529 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.6646, allocations: 84.14 kB / 0.953 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6646, allocations: 1.406 kB / 0.953 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6647, allocations: 3.984 kB / 0.953 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6647, allocations: 0 / 0.953 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.665, allocations: 74.5 kB / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.6652, allocations: 162.4 kB / 0.9532 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.6657, allocations: 127.5 kB / 0.9534 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.6659, allocations: 46.42 kB / 0.9534 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.6659, allocations: 0 / 0.9534 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.6659, allocations: 35.59 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.6659, allocations: 1.281 kB / 0.9534 GB, free: 6.25 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.004047/0.67, allocations: 0.7792 MB / 0.9542 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.67, allocations: 57.09 kB / 0.9543 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.6701, allocations: 110.2 kB / 0.9544 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.6701, allocations: 29.7 kB / 0.9544 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.6702, allocations: 85.58 kB / 0.9545 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.6702, allocations: 28.11 kB / 0.9545 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.6703, allocations: 32.95 kB / 0.9545 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.6704, allocations: 313.1 kB / 0.9548 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.6708, allocations: 95.64 kB / 0.9549 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.6712, allocations: 101.7 kB / 0.955 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.6719, allocations: 198.9 kB / 0.9552 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6719, allocations: 0 / 0.9552 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008556/0.6728, allocations: 242.5 kB / 0.9554 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6728, allocations: 5.938 kB / 0.9555 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6729, allocations: 320 / 0.9555 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6729, allocations: 0 / 0.9555 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.6732, allocations: 59.34 kB / 0.9555 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.6732, allocations: 1.312 kB / 0.9555 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.6735, allocations: 37.27 kB / 0.9555 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.6735, allocations: 6.703 kB / 0.9556 GB, free: 4.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.6736, allocations: 121 kB / 0.9557 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.6736, allocations: 6.719 kB / 0.9557 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.6736, allocations: 17.66 kB / 0.9557 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6736, allocations: 5.438 kB / 0.9557 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6736, allocations: 0 / 0.9557 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.6737, allocations: 0 / 0.9557 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.6752, allocations: 0.6037 MB / 0.9563 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6752, allocations: 0 / 0.9563 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.6755, allocations: 51.41 kB / 0.9563 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6755, allocations: 1.812 kB / 0.9563 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6755, allocations: 9.984 kB / 0.9563 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6755, allocations: 1.75 kB / 0.9563 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6755, allocations: 0 / 0.9563 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.6764, allocations: 344.5 kB / 0.9567 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.6764, allocations: 82.58 kB / 0.9568 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.6765, allocations: 2.75 kB / 0.9568 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.6767, allocations: 40.52 kB / 0.9568 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.6768, allocations: 17.42 kB / 0.9568 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6768, allocations: 2.75 kB / 0.9568 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.6768, allocations: 91.52 kB / 0.9569 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6768, allocations: 1.375 kB / 0.9569 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003058/0.6771, allocations: 43.42 kB / 0.9569 GB, free: 3.785 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 (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.000195/0.6773, allocations: 130.5 kB / 0.9571 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008799/0.6782, allocations: 207.8 kB / 0.9573 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6782, allocations: 1.312 kB / 0.9573 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.6787, allocations: 104.3 kB / 0.9574 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.6789, allocations: 13.66 kB / 0.9574 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.6804, allocations: 450.4 kB / 0.9578 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6805, allocations: 0.6844 MB / 0.9585 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.6806, allocations: 18.86 kB / 0.9585 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6806, allocations: 1.125 kB / 0.9585 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.003379/0.684, allocations: 1.429 MB / 0.9599 GB, free: 1.793 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches