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.0008511/0.0008511, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009924/0.0009924, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 14.72 kB / 0.9034 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2836, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007343/0.2844, allocations: 378.6 kB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.2863, allocations: 1.466 MB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.2863, allocations: 0 / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.2863, allocations: 0 / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.2864, allocations: 7.922 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.2868, allocations: 99.69 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.2869, allocations: 19.98 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.2869, allocations: 0 / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.287, allocations: 19.92 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.287, allocations: 19.86 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2871, allocations: 4 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.2875, allocations: 311.3 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2875, allocations: 11.92 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.2876, allocations: 37.64 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2878, allocations: 136.1 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2878, allocations: 0 / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2878, allocations: 0 / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2878, allocations: 0 / 1.062 GB, free: 2.469 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.0004754/0.2883, allocations: 375.3 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2884, allocations: 12.03 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/0.2888, allocations: 72.86 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2889, allocations: 172.2 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.289, allocations: 4.375 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.289, allocations: 384 / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.2893, allocations: 85.95 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2893, allocations: 3.984 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2893, allocations: 4 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2893, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.2897, allocations: 79.92 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.2899, allocations: 165.7 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.2904, allocations: 150.4 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.2906, allocations: 52.94 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2907, allocations: 3.984 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2907, allocations: 42.5 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.2907, allocations: 4 kB / 1.063 GB, free: 1.105 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.004415/0.2951, allocations: 0.9524 MB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2952, allocations: 55.41 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2953, allocations: 109.8 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2953, allocations: 29.7 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.2954, allocations: 84.12 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.2954, allocations: 27.56 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.2954, allocations: 17.72 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2956, allocations: 318.8 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.296, allocations: 119.9 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.2965, allocations: 119.9 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.2974, allocations: 240.6 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2974, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009547/0.2984, allocations: 285.3 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2984, allocations: 4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2984, allocations: 320 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2984, allocations: 7.938 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2987, allocations: 64.31 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2988, allocations: 4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.299, allocations: 43.95 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.299, allocations: 15.98 kB / 1.065 GB, free: 14.58 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 8.41e-05/0.2991, allocations: 117.7 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.2991, allocations: 7.906 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.2992, allocations: 12.38 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2992, allocations: 3.984 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2992, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2992, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.301, allocations: 0.6641 MB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.301, allocations: 0 / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.3013, allocations: 64 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3013, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3013, allocations: 11.98 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3013, allocations: 80 / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3013, allocations: 3.984 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.3023, allocations: 384.8 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.3024, allocations: 85.02 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3024, allocations: 4 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.3027, allocations: 47.95 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3027, allocations: 19.86 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3028, allocations: 7.984 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.3028, allocations: 87.28 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 0 / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003013/0.3031, allocations: 43.98 kB / 1.067 GB, free: 12.92 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.0001949/0.3033, allocations: 123.2 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009629/0.3043, allocations: 255.7 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3043, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.3048, allocations: 131.9 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.305, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3067, allocations: 0.4942 MB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3069, allocations: 0.6848 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.307, allocations: 23.69 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.307, allocations: 4 kB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.003026/0.3101, allocations: 1.441 MB / 1.07 GB, free: 9.695 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