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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0007547/0.0007548, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00513/0.00513, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 11.56 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001103/0.339, allocations: 370.7 kB / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.3416, allocations: 1.47 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.3417, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.3417, allocations: 4 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3418, allocations: 3.938 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.3425, allocations: 103.7 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3426, allocations: 19.98 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.3427, allocations: 0 / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.3427, allocations: 19.94 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.3428, allocations: 19.84 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3428, allocations: 4 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.3433, allocations: 315.3 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.3434, allocations: 7.938 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3434, allocations: 37.62 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.3437, allocations: 183.9 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3437, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3437, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3438, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 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.0004729/0.3442, allocations: 380.5 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3443, allocations: 8.031 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003778/0.3447, allocations: 72.86 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3448, allocations: 180.2 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3449, allocations: 384 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3449, allocations: 384 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.3452, allocations: 89.94 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3452, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3453, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3453, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.3457, allocations: 95.92 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.3459, allocations: 169.7 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.3465, allocations: 146.4 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.3467, allocations: 52.94 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3468, allocations: 0 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3468, allocations: 38.44 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.3468, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 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.004498/0.3513, allocations: 0.9536 MB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3514, allocations: 55.39 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3515, allocations: 113.8 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3515, allocations: 29.7 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.3516, allocations: 84.14 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.3516, allocations: 31.56 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3517, allocations: 13.7 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3518, allocations: 318.8 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.3523, allocations: 115.9 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.3527, allocations: 115.9 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.3536, allocations: 240.6 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3536, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009876/0.3546, allocations: 293.5 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3546, allocations: 6.031 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3547, allocations: 3.938 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3547, allocations: 96 / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.355, allocations: 71.88 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.355, allocations: 0 / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.3553, allocations: 47.95 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3553, allocations: 7.984 kB / 1.065 GB, free: 15.04 MB / 0.8262 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 9.549e-05/0.3554, allocations: 113.8 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3554, allocations: 7.906 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.3555, allocations: 8.375 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3555, allocations: 8 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3555, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3555, allocations: 3.984 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3573, allocations: 0.6521 MB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3573, allocations: 0 / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3576, allocations: 68 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.3576, allocations: 4.75 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3577, allocations: 7.984 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3577, allocations: 4 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3577, allocations: 0 / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3587, allocations: 388.8 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.3588, allocations: 81.02 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3588, allocations: 11.98 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.3591, allocations: 39.97 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3591, allocations: 19.86 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.3592, allocations: 7.984 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.3592, allocations: 91.27 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3592, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003119/0.3595, allocations: 36 kB / 1.066 GB, free: 13.39 MB / 0.8262 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.0002265/0.3598, allocations: 131.2 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009678/0.3608, allocations: 247.7 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3608, allocations: 3.938 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.3612, allocations: 132 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3615, allocations: 12.27 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3633, allocations: 480.1 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3635, allocations: 0.6887 MB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.3637, allocations: 25.44 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.3638, allocations: 23.42 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3638, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.004383/0.3682, allocations: 1.592 MB / 1.069 GB, free: 10.02 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches