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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001264/0.001264, 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.0107/0.0107, 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 10.75 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3328, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008281/0.3337, allocations: 370.7 kB / 1.075 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3357, allocations: 1.468 MB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.3358, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3358, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.3359, allocations: 4 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.3363, allocations: 95.7 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.3364, allocations: 27.91 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.3365, allocations: 4 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.3365, allocations: 7.938 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.3366, allocations: 23.91 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3366, allocations: 0 / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.3372, allocations: 311.4 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3372, allocations: 19.86 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.3373, allocations: 33.62 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.3376, allocations: 191.9 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3376, allocations: 0 / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.027e-06/0.3376, allocations: 0 / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3376, allocations: 3.938 kB / 1.077 GB, free: 4.945 MB / 0.8262 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.0005711/0.3382, allocations: 371.4 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3383, allocations: 12.03 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.3387, allocations: 76.77 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3389, allocations: 168.4 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3389, allocations: 12.36 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3389, allocations: 384 / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3392, allocations: 81.95 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3393, allocations: 7.938 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3393, allocations: 0 / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3393, allocations: 0 / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.3397, allocations: 83.92 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.3399, allocations: 169.6 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.3405, allocations: 142.5 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3407, allocations: 52.94 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3407, allocations: 0 / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3407, allocations: 42.44 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3407, allocations: 0 / 1.078 GB, free: 3.59 MB / 0.8262 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.004506/0.3453, allocations: 0.9553 MB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3453, allocations: 55.41 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.3454, allocations: 113.8 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3454, allocations: 25.7 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.3455, allocations: 88.12 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3455, allocations: 31.5 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3456, allocations: 17.7 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.3457, allocations: 314.8 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.3461, allocations: 119.9 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.3466, allocations: 119.9 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.3475, allocations: 232.7 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3475, allocations: 4 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001007/0.3485, allocations: 285.3 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3485, allocations: 4 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3486, allocations: 4 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3486, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.3489, allocations: 64.5 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3489, allocations: 3.938 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.3492, allocations: 55.95 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3492, allocations: 3.984 kB / 1.08 GB, free: 1.062 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 0.0001258/0.3494, allocations: 125.7 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3494, allocations: 7.906 kB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.3495, allocations: 8.375 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3495, allocations: 0 / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3495, allocations: 0 / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3495, allocations: 4 kB / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.3514, allocations: 0.6641 MB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3514, allocations: 0 / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.3517, allocations: 75.92 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3517, allocations: 0 / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3517, allocations: 7.984 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3517, allocations: 0 / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3518, allocations: 0 / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3528, allocations: 388.9 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.3529, allocations: 85.02 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3529, allocations: 0 / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.3532, allocations: 47.95 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.3532, allocations: 15.92 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3532, allocations: 11.98 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.3533, allocations: 87.28 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3533, allocations: 0 / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003061/0.3536, allocations: 35.98 kB / 1.082 GB, free: 15.4 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.0002475/0.3539, allocations: 135.1 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009527/0.3548, allocations: 251.8 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3549, allocations: 0 / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.3554, allocations: 132 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3557, allocations: 9.094 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3574, allocations: 480.2 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3577, allocations: 0.6809 MB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.3578, allocations: 28.88 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.3579, allocations: 19.42 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3579, allocations: 0 / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.004298/0.3622, allocations: 1.595 MB / 1.085 GB, free: 12.03 MB / 0.8419 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