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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001556/0.001556, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.62 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2947, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002045/0.2968, allocations: 0.6348 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2988, allocations: 1.448 MB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.2988, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.2988, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.2989, allocations: 7.922 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.2995, allocations: 123.5 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.2996, allocations: 27.91 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.2996, allocations: 8 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.2997, allocations: 15.92 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.2998, allocations: 19.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2998, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.3003, allocations: 319.3 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3003, allocations: 11.92 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.3004, allocations: 15.88 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.3007, allocations: 183.5 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3007, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.957e-06/0.3007, allocations: 4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3007, allocations: 3.938 kB / 1.091 GB, free: 14.59 MB / 0.8575 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.0006046/0.3013, allocations: 382.9 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3014, allocations: 8.031 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.3018, allocations: 64.81 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3019, allocations: 176.3 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.302, allocations: 384 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.302, allocations: 384 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.3023, allocations: 77.95 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3023, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3023, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3024, allocations: 3.938 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.3027, allocations: 79.84 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.3029, allocations: 169.7 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.3035, allocations: 122.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3037, allocations: 44.94 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3037, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3037, allocations: 38.5 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3037, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 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.003945/0.3077, allocations: 0.7811 MB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3077, allocations: 51.41 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3079, allocations: 117.8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3079, allocations: 25.7 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.308, allocations: 88.12 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.308, allocations: 31.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.3081, allocations: 25.7 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3082, allocations: 322.8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.3086, allocations: 103.8 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.309, allocations: 91.91 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.3098, allocations: 192.7 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3098, allocations: 0 / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008927/0.3107, allocations: 249.5 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3108, allocations: 9.703 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3108, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3108, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.3111, allocations: 55.94 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3111, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3114, allocations: 43.95 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3114, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 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 8.713e-05/0.3115, allocations: 121.7 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.3115, allocations: 7.953 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.3115, allocations: 8.375 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3116, allocations: 3.984 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3116, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3116, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.3132, allocations: 0.5896 MB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3132, allocations: 8.047 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3135, allocations: 55.88 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3135, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.3135, allocations: 8.75 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3135, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3135, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.3144, allocations: 340.9 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3145, allocations: 85.11 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3145, allocations: 7.984 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3148, allocations: 31.97 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.3148, allocations: 15.92 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3149, allocations: 11.98 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.3149, allocations: 91.66 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3149, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002953/0.3152, allocations: 35.88 kB / 1.095 GB, free: 9.531 MB / 0.8575 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.0002222/0.3154, allocations: 139 kB / 1.095 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009166/0.3164, allocations: 220.1 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3164, allocations: 0 / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.3168, allocations: 111.9 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3171, allocations: 10.06 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3186, allocations: 402.1 kB / 1.096 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3189, allocations: 0.6846 MB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.923e-05/0.319, allocations: 16.67 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.319, allocations: 19.42 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.319, allocations: 0 / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of Templates: time 0.004277/0.3233, allocations: 1.665 MB / 1.098 GB, free: 6.219 MB / 0.8575 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/jenkins/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