Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001662/0.001663, allocations: 109.4 kB / 15.99 MB, free: 5.91 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.001739/0.001739, allocations: 192.2 kB / 16.91 MB, free: 5.754 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 67.95 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.343, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002366/0.3455, allocations: 0.7008 MB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3478, allocations: 1.458 MB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.3479, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.3479, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.348, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.3486, allocations: 107.7 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.3487, allocations: 27.92 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.3487, allocations: 0 / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.3488, allocations: 15.92 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.3489, allocations: 15.92 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3489, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.3495, allocations: 319.3 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.3495, allocations: 7.938 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.3495, allocations: 19.86 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3498, allocations: 132.1 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 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.0006401/0.3505, allocations: 379.3 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3506, allocations: 16.62 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.351, allocations: 56.77 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3512, allocations: 168.4 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3512, allocations: 8.375 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3512, allocations: 384 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.3515, allocations: 77.95 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3515, allocations: 3.906 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3516, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.3516, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.3519, allocations: 79.84 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.3522, allocations: 173.7 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.3528, allocations: 122.5 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.353, allocations: 48.94 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.353, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.3531, allocations: 38.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 3.326e-06/0.3531, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 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.004164/0.3572, allocations: 0.7899 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3573, allocations: 51.41 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3574, allocations: 113.8 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3575, allocations: 25.7 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.3575, allocations: 92.12 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.3576, allocations: 27.56 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.3577, allocations: 25.7 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3578, allocations: 318.8 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.3582, allocations: 99.84 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.3586, allocations: 99.83 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007829/0.3594, allocations: 192.7 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3594, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009055/0.3604, allocations: 245.3 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3604, allocations: 8 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3604, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3604, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.3607, allocations: 59.94 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3608, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.361, allocations: 31.95 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.361, allocations: 11.98 kB / 1.07 GB, free: 8.738 MB / 0.8419 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 0.0001092/0.3611, allocations: 123.4 kB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.3612, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.3612, allocations: 12.38 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3612, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3612, allocations: 3.938 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3612, allocations: 3.984 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.363, allocations: 0.5981 MB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.363, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.3632, allocations: 59.94 kB / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3633, allocations: 4 kB / 1.071 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3633, allocations: 4 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3633, allocations: 4 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3633, allocations: 0 / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.3643, allocations: 348.8 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.3643, allocations: 81.09 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3643, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3646, allocations: 35.95 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3647, allocations: 15.92 kB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3647, allocations: 7.984 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.3647, allocations: 87.28 kB / 1.071 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3648, allocations: 4 kB / 1.071 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002942/0.3651, allocations: 39.98 kB / 1.071 GB, free: 7.207 MB / 0.8419 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.0002341/0.3653, allocations: 135.1 kB / 1.072 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009143/0.3662, allocations: 207.7 kB / 1.072 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3662, allocations: 4 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.3667, allocations: 108 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3669, allocations: 4 kB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3685, allocations: 447.9 kB / 1.072 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3689, allocations: 0.6885 MB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.3689, allocations: 19.42 kB / 1.073 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.369, allocations: 4 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of Templates: time 0.003583/0.3725, allocations: 1.432 MB / 1.074 GB, free: 4.105 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches