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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.005683/0.005683, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001298/0.001298, allocations: 199 kB / 16.79 MB, free: 6.254 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.78 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2746, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002059/0.2767, allocations: 0.697 MB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2787, allocations: 1.482 MB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.2787, allocations: 0 / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.2788, allocations: 3.938 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.2789, allocations: 3.984 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.2793, allocations: 95.7 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.2793, allocations: 19.98 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.2794, allocations: 0 / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.2794, allocations: 27.84 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.2795, allocations: 19.86 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2795, allocations: 4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.28, allocations: 311.3 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.28, allocations: 7.984 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.2801, allocations: 15.94 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.2803, allocations: 140.1 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2803, allocations: 0 / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2803, allocations: 0 / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2803, allocations: 3.938 kB / 1.056 GB, free: 5.434 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.0005684/0.2809, allocations: 372.8 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2809, allocations: 8.031 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/0.2813, allocations: 64.77 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2815, allocations: 176.3 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2815, allocations: 384 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2816, allocations: 8.375 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.2819, allocations: 73.95 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2819, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2819, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2819, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.2823, allocations: 71.91 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.2826, allocations: 177.6 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.2831, allocations: 130.5 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.2833, allocations: 36.95 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2833, allocations: 4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2834, allocations: 38.5 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.2834, allocations: 0 / 1.057 GB, free: 4.133 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.004215/0.2876, allocations: 0.786 MB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.2877, allocations: 55.41 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.2878, allocations: 117.8 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2878, allocations: 29.7 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.2878, allocations: 84.14 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.2879, allocations: 35.53 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.288, allocations: 29.64 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2881, allocations: 318.8 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.2885, allocations: 95.89 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.2889, allocations: 103.8 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.2898, allocations: 192.9 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2898, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009123/0.2907, allocations: 245.4 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2907, allocations: 4 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2907, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2908, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2911, allocations: 55.94 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2911, allocations: 0 / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2913, allocations: 39.95 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2913, allocations: 0 / 1.059 GB, free: 1.906 MB / 0.8106 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.0001014/0.2915, allocations: 125.7 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2915, allocations: 11.89 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.2915, allocations: 8.375 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2915, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2916, allocations: 4 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.2916, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.2932, allocations: 0.5935 MB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2932, allocations: 0 / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.2935, allocations: 56 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2935, allocations: 0 / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2936, allocations: 11.98 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2936, allocations: 3.938 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2936, allocations: 4 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.2945, allocations: 336.9 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.2945, allocations: 89.02 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.2946, allocations: 0 / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.2948, allocations: 39.95 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2949, allocations: 11.92 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2949, allocations: 8.375 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.295, allocations: 95.39 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.295, allocations: 0 / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002912/0.2953, allocations: 39.94 kB / 1.06 GB, free: 380 kB / 0.8106 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.0002238/0.2955, allocations: 135.2 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008718/0.2964, allocations: 203.7 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2964, allocations: 0 / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.2968, allocations: 112 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2971, allocations: 4 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2986, allocations: 440.7 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2989, allocations: 0.6848 MB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.299, allocations: 23.42 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.299, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.003304/0.3023, allocations: 1.427 MB / 1.063 GB, free: 13.29 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/jenkins1/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