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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0046/0.0046, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001301/0.001301, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003178/0.003178, allocations: 70.34 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2984, allocations: 162.2 MB / 1.241 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001639/0.3001, allocations: 0.6371 MB / 1.242 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3019, allocations: 1.452 MB / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.302, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.302, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.302, allocations: 11.86 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3025, allocations: 127.5 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.472e-05/0.3025, allocations: 27.86 kB / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.3026, allocations: 0 / 1.244 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.3026, allocations: 19.92 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.3027, allocations: 15.91 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3027, allocations: 4 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.3032, allocations: 315.4 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.3032, allocations: 11.98 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.3033, allocations: 19.8 kB / 1.244 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.3036, allocations: 187.8 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3036, allocations: 0 / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3036, allocations: 0 / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3036, allocations: 0 / 1.244 GB, free: 6.398 MB / 0.9669 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.0005116/0.3041, allocations: 382.9 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3042, allocations: 12.03 kB / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.3042, allocations: 38.75 kB / 1.245 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.3046, allocations: 56.81 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3047, allocations: 168.4 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3048, allocations: 4.375 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3048, allocations: 4.375 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3051, allocations: 73.77 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3051, allocations: 3.938 kB / 1.245 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3051, allocations: 4 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3051, allocations: 3.938 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.3055, allocations: 75.91 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.3057, allocations: 173.5 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.3063, allocations: 126.5 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.3065, allocations: 48.94 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3065, allocations: 0 / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3066, allocations: 34.5 kB / 1.245 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3066, allocations: 3.938 kB / 1.245 GB, free: 5.039 MB / 0.9669 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.004245/0.3108, allocations: 0.7819 MB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3109, allocations: 55.41 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.311, allocations: 113.8 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.311, allocations: 25.8 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.311, allocations: 96.06 kB / 1.246 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.3111, allocations: 31.73 kB / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.3112, allocations: 25.7 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3113, allocations: 322.8 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.3118, allocations: 95.91 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.3122, allocations: 95.89 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.3131, allocations: 192.7 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3131, allocations: 3.938 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000973/0.3141, allocations: 241.4 kB / 1.247 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3141, allocations: 8 kB / 1.247 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3142, allocations: 3.984 kB / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.3142, allocations: 0 / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.3145, allocations: 55.94 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3145, allocations: 320 / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3147, allocations: 31.97 kB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3148, allocations: 11.92 kB / 1.248 GB, free: 2.812 MB / 0.9669 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 9.758e-05/0.3149, allocations: 118.3 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.3149, allocations: 3.953 kB / 1.248 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.3149, allocations: 16.38 kB / 1.248 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.315, allocations: 0 / 1.248 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.315, allocations: 0 / 1.248 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.315, allocations: 8.203 kB / 1.248 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3167, allocations: 0.5975 MB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3167, allocations: 0.75 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.317, allocations: 59.88 kB / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.317, allocations: 4 kB / 1.248 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.317, allocations: 0 / 1.248 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.317, allocations: 4 kB / 1.248 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.317, allocations: 7.938 kB / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.318, allocations: 345 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.3181, allocations: 81.06 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3181, allocations: 7.984 kB / 1.249 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.3184, allocations: 35.97 kB / 1.249 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3185, allocations: 11.92 kB / 1.249 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3185, allocations: 7.984 kB / 1.249 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.3185, allocations: 87.28 kB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3186, allocations: 4 kB / 1.249 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002887/0.3188, allocations: 43.86 kB / 1.249 GB, free: 1.266 MB / 0.9669 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.001408/0.3203, allocations: 0.9051 MB / 1.25 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009531/0.3212, allocations: 203.8 kB / 1.25 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3212, allocations: 4 kB / 1.25 GB, free: 128 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.3217, allocations: 108 kB / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.322, allocations: 11.94 kB / 1.25 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.3269, allocations: 2.132 MB / 1.252 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3272, allocations: 0.6846 MB / 1.253 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.3273, allocations: 20.67 kB / 1.253 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.3274, allocations: 31.41 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3274, allocations: 3.938 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.35, allocations: 2.754 MB / 1.256 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.857, allocations: 5.5 kB / 1.256 GB, free: 10.4 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv","/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