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.001609/0.001609, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001657/0.001657, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.189/2.189, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 66.61 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002353/0.2803, allocations: 0.6351 MB / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2826, allocations: 1.445 MB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.2827, allocations: 0 / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.2827, allocations: 3.938 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.2828, allocations: 15.98 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.2834, allocations: 115.5 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.2834, allocations: 27.86 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2835, allocations: 4 kB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.2836, allocations: 19.92 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.2836, allocations: 15.92 kB / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2837, allocations: 0 / 0.9525 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.2842, allocations: 323.3 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.2842, allocations: 7.938 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.2842, allocations: 19.84 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2846, allocations: 179.9 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2846, allocations: 4 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2846, allocations: 0 / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5e-06/0.2846, allocations: 0 / 0.953 GB, free: 6.043 MB / 0.7325 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.0005755/0.2852, allocations: 396.6 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2852, allocations: 8.031 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.2857, allocations: 60.86 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2859, allocations: 172.2 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2859, allocations: 384 / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.2859, allocations: 4.375 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.2862, allocations: 85.83 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2863, allocations: 0 / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2863, allocations: 8 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2863, allocations: 0 / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.2867, allocations: 71.91 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.2869, allocations: 173.6 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.2875, allocations: 118.5 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2877, allocations: 44.94 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2877, allocations: 7.938 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2878, allocations: 38.5 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2878, allocations: 0 / 0.9541 GB, free: 4.719 MB / 0.7325 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.004182/0.2919, allocations: 0.7779 MB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.292, allocations: 51.41 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.2921, allocations: 117.8 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2921, allocations: 29.7 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.2922, allocations: 84.12 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.2922, allocations: 27.56 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.2923, allocations: 29.7 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2924, allocations: 318.8 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.2929, allocations: 95.91 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.2934, allocations: 95.89 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.2942, allocations: 196.9 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2943, allocations: 0 / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009584/0.2952, allocations: 249.4 kB / 0.9561 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2952, allocations: 4 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2953, allocations: 0 / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2953, allocations: 0 / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.2956, allocations: 59.88 kB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2957, allocations: 0 / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2959, allocations: 39.95 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2959, allocations: 3.984 kB / 0.9562 GB, free: 2.504 MB / 0.7325 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.0001138/0.296, allocations: 119.8 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.2961, allocations: 7.906 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.2961, allocations: 8.375 kB / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2961, allocations: 0 / 0.9564 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2961, allocations: 8.688 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2961, allocations: 3.984 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.298, allocations: 0.5977 MB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.298, allocations: 7.969 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2983, allocations: 51.94 kB / 0.957 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2983, allocations: 4 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2983, allocations: 4 kB / 0.957 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2983, allocations: 4.078 kB / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2983, allocations: 3.984 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.2993, allocations: 344.9 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.2994, allocations: 89.02 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2994, allocations: 0 / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.2997, allocations: 35.95 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.2997, allocations: 19.92 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2998, allocations: 7.984 kB / 0.9575 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.2998, allocations: 87.47 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2998, allocations: 0 / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002959/0.3001, allocations: 47.92 kB / 0.9576 GB, free: 0.957 MB / 0.7325 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.0002335/0.3004, allocations: 123.2 kB / 0.9578 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009985/0.3014, allocations: 215.7 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3014, allocations: 4 kB / 0.958 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.3019, allocations: 104 kB / 0.9581 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3021, allocations: 8 kB / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3038, allocations: 424.2 kB / 0.9585 GB, free: 48 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3041, allocations: 0.6961 MB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.3042, allocations: 19.42 kB / 0.9592 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.3042, allocations: 0 / 0.9592 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of Templates: time 0.00331/0.3075, allocations: 1.43 MB / 0.9606 GB, free: 13.87 MB / 0.7481 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